Skip to content

gcolin/jmx-web-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JMX Web console

Why using this library?

  • Access JMX from a web interface
  • Very fast
  • Stateless (nothing is stored in RAM or in HDD)
  • Need only one Servlet (no JSP or other technology)
  • Easy to use or extend
  • No dependency and compatible with Java SE Embedded 8 Compact 3
  • A running example with different CSS styles (Bootstrap and PureCSS)
  • JRE 1.8+
  • The jmx-war need only servlet api 3.0.1 (can run on old and new containers)
  • Very small (minimal war size about 24 KB)

screen

How to install

You need maven installed.

    mvn install

How to run the example

    cd jmx-exmaple
    mvn jetty:run

Go to your browser at: http://localhost:8080 The login is admin and the password is admin.

The example project is a good start for integrating to a production level application.

The minimal war

jmx-war is a minimal war for exposing the JMX with a web interface. The security provided is too light for production environment but it is adequate for an internal use. It is just a basic authentication with a role manager.

How to insert in your project

Maven

<dependency>
    <groupId>net.gcolin.jmxconsole</groupId>
    <artifactId>jmx-web-console</artifactId>
    <version>1.0</version>
</dependency>

Gradle

    compile group: 'net.gcolin.jmxconsole', name: 'jmx-web-console', version:'1.1'

About

Simpliest way to get JMX access with a web interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published