I'm looking for a basic library to give an HTML view of JMX MBeans that I can embed in my Java application. It sounds like Sun's com.sun.jdmk.comm.HtmlAdaptorServer fits the bill (referenced here). However, that tool appears to be somewhat license encumbered...
A basic Web UI like that from the referenced article is all I need:
(source: sun.com)
I am running a servlet container (Jetty), so this library could deploy as a WAR. But I don't care if it simply opens up its own socket either.
I've looked at jManage, but it seems not to be designed for embedded use.
Any suggestions?
JMinix is pretty cool and seems pretty up-to-date. The UI isn't real deep, but it embeds easily into any servlet container and exposes JMX as REST.
http://code.google.com/p/jminix/
I used MX4J for years. It was reliable and well featured, a really good open source project.
However, I would not recommend it now because
To get the best out of it you need to generate annotations with XDoclet and you need to include it on the bootclasspath. If you include it on the bootclasspath you cannot use JConsole because it overrides the JMX routines that come with the JVM.
Why can't you use the Open JDK / Open DMK Http Adaptor? After all OpenJDK is GPL based - isn't it?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With