Sunday, June 13, 2010

Never again without JMX

Simple tutorial to get started with exposing a Bean with JMX:

and here

the Eclipse project in SVN (remember to set the JVM arguments as specified in the SimpleAgent javadoc)

Run SimpleAgent in Eclipse, run JConsole, connect to SimpleAgent and you can invoke the methods and inspect the attributes via JMX... fabulous!

It's great HtmlAdaptorServer to implement the solution depicted here.

To download the JDMK HtmlAdaptorServer go here:

No comments: