Open source open source JMX client?

I am looking for a base library to give a JMX MBeans HTML view that I can embed in my Java application. It seems that Sun com.sun.jdmk.comm.HtmlAdaptorServer meets all the requirements (link here ). However, this tool seems to be somewhat burdened with a license ...

All I need is a basic web interface similar to this from the above article:
(source: sun.com )

I use a servlet container (Jetty), so this library can be deployed as a WAR. But I don’t care if it just opens its own socket.

I looked at jManage , but it does not seem to be intended for inline use.

Any suggestions?

+8
java jmx
source share
3 answers

JMinix is ​​pretty cool and seems pretty modern. The user interface is not very deep, but it can be easily integrated into any servlet container and provides JMX as REST.

http://code.google.com/p/jminix/

+9
source share

I have been using the MX4J for years. It was a reliable and well-shown, really good open source project.

However, I would not recommend it now, because

  • It is not actively supported
  • It is not suitable for Java 5/6.

To get the most out of this, you need to create annotations with the XDoclet, and you need to include it in the bootclasspath. If you include it in the bootclasspath, you cannot use the JConsole because it overrides the JMX routines that come with the JVM.

Why can't you use the Open JDK / Open DMK Http Adapter? After all, OpenJDK is GPL-based - isn't it?

+2
source share

Check out the MX4J HTTP adapter . Unfortunately, it is not packaged like WAR, but I think it will fit your needs.

// Nikolay

+1
source share

Source: https://habr.com/ru/post/650252/


All Articles