Simple tutorial to get started with exposing a Bean with JMX:
http://www.devdaily.com/blog/post/java/source-code-java-jmx-hello-world-application
and here
http://javatoolsforweblogic.googlecode.com/svn/trunk/JMXTest/
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: http://java.sun.com/products/jdmk/
Sunday, June 13, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment