JMX module features for NetBeans 6.0 [December 2007, release 3.0]
The module is stable and can be downloaded from NetBeans 6 FCS Update Center.
JMX MBeans and Manager wizards.
[NEW]Support for MXBean generation.
Ability to update existing MBean.
Ability to generate MBean from a Java Class.
[NEW] Editor action to create, name and register MBean where you want in your
application. This was previously enabled only for special JMXAgent generated class.
Ability to launch JConsole.
[NEW] JConsole properties accessible from Project Properties
(tab Monitoring and Management).
[NEW] Support for JConsole pluggins.
Run / Debug java project with JConsole connected to it.
Sample application based on the Anagram Game
Wizard to generate a JDK 1.5 or JDK 6 management properties file
We removed JUnit test case generation. Use standard JUnit tooling to generate
test case for your MBeans
We removed JMXAgent wizard. Any class can be used to receive MBean registration code.
Known issues:
When generating MBean from Existing Java class, the generated class constructor
doesn't contain the call to super(...) that is required.
A comment is generated containing the right method invocation. Just uncomment this line
and the generated code will compile.(see bug 122988)
When generating a JMX Manager, in some cases, JMXServiceURL and JMXConnectorFactory import are not generated.(see bug 123252)
Be sure to run NetBeans on top of JDK 5.0 or JDK 6.
JMX module getting started and tutorials for NetBeans 6
Helping JMX MBean instantiation
and registration within a JMX
Agent. Generate code at the end of a JMX Agent init method. This
could be done also thanks to an Editor
action (letting the user select where to generate the code
directly in his java source.