Skip to content
A lightweight servlet-embedded JMX console
JavaScript Java CSS HTML
Branch: master
Clone or download

Latest commit

Latest commit 487b26e Jun 18, 2015

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Removed unnecessary directory level May 9, 2015
.gitignore
LICENSE
NOTICE
README.md
pom.xml

README.md

A swisspush project

Documentation | Screenshots | Release Notes | Support

Don't want to use an external full-blown JMX console? Just want to have a simple JMX entry point into your new or existing apps?

Embedding JMiniX in a webapp is done simply by declaring a servlet. Deployed as a servlet, it benefits from your web application configuration such as filters or security constraints.

<servlet>
    <servlet-name>JmxMiniConsoleServlet</servlet-name>
    <servlet-class>org.jminix.console.servlet.MiniConsoleServlet</servlet-class>
</servlet> 

JMiniX can also be embedded in a non-web application, thanks to a lightweight internal webserver:

new StandaloneMiniConsole(8088);

The console is built in a RESTful way. Domains, MBeans, attributes, properties are resources and can be refered to directly with an URL as HTML or JSON (according to Accept header). For example:

http://localhost:8088/servers/0/domains/java.lang/mbeans/type=Memory/attributes/HeapMemoryUsage

Or using the pretty ajax browser:


You can’t perform that action at this time.