There's a plugin for NetBeans that supports the JMX API. It allows you to create and modify JMX MBeans through a wizard, to create unit tests for them, and to run an application and simultaneously attach to its JMX instrumentation. My colleague Jean-François Denise writes about this and more in a recent blog entry, with pointers to some excellent tutorials.
Ron Bodkin has written an excellent, detailed
article about using the
Inspector project. This combines AspectJ and JMX
technologies to add monitoring to applications in a clean and
I particularly like this style of article, where extended code
extracts are used to present something really useful rather than
just a toy example. The alternating...