A swisspush project
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:
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:
Or using the pretty ajax browser: