Looking for JMX Overview, Examples, Tutorial, and more?
By daniel on Mar 28, 2006
If you're programming with Tiger, this is the page you want to bookmark 'Java Management Extension (JMX) - Documentation Contents site:java.sun.com' - and if you're working with Mustang, it's this one.
It contains an overview of the JMX Technology, a set of JMX examples (with a zip of the sample code), an online tutorial, the API specifications and links to the JMX Technology JSRs. If you're in a hurry I have also written a very short introduction to the JMX technology in a blog entry titled What is JMX? and for JDK 6, there's a recent online tutorial Trail: Java Management Extensions (JMX) now available.
In addition don't miss the very good JMX Tutorial that comes with NetBeans - by Jean-François Denise.
You will also want to read Using JConsole, and Using JConsole to Monitor Applications by Mandy Chung.
If you are working with JDK 6
Mustang, then have a look at Eamonn's blog to learn about the new JMX exciting features - in particular
the MXBeans. There is also a new advanced JMX exampled included in the latest bits of JDK 6.
And if you're working in a J2EE environment, then of course The Aquarium, Jean-Francois's blog, and the article on Managing and Monitoring Web Services in Project GlassFish are things you shouldn't miss!
Finally, if you still have questions about JMX you could also look at some of my previous entries.
As a conclusion, here are my own two cents: if you're really new to JMX, then start with the NetBeans JMX Tutorial outlined above.
I'll try to keep this page updated if new resources become available!Cheers
Update: There are also a few articles on Sun Developer Network that I should point to:
- Understanding JMX Technology presents some basic JMX concepts (Java SE 5.0).
- Getting Started with Java Management Extensions (JMX): Developing Management and Monitoring Solutions is a somewhat more detailed article on JMX in Java SE 5.0.
- Finally, Using Custom MBeans to Extend the GlassFish Administration System provides interesting insights on using JMX in GlassFish.
Update: Also don't miss this new Java SE 6 article:
- MXBeans in Java SE 6: Bundling Values Without Special JMX Client Configurations which made the front page of java.sun.com.
Update:If you're an advanced JMX user you will also want to read about Eamonn's real example of DynamicMBean.