FeaturesPluginsDocs & SupportCommunityPartners

JMX Module project contact jean-francois.denise@sun.com

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

JMX Resources

JMX module features for NetBeans 5.5 [January 2006, release 1.0]

The module is stable and can be downloaded from NetBeans Update Center.
  • JMX MBeans, Agents and Manager wizard.
  • Generation of JUnit tests ready to exercise MBean attributes and
    operations.
  • Ability to update existing MBean
  • Ability to generate MBean from a Java Class.
  • Ability to create, name and register MBean in JMX Agent
  • Ability to launch JConsole.
  • Run / Debug java project  with JConsole connected to it.
  • Sample application based on the Anagram Game
  • Wizard to generate a JDK 1.5 management properties file
Be sure to run NetBeans on top of JDK 5.0 or JDK 6.

JMX module getting started and tutorials for NetBeans 5

MBeans sharing area

An MBean that help visualize what is going on in AWT. Very interesting to visualize AWT events. MBean sources. MBean documentation.

JMX module QA


JMX UI specs [July 2005]

    Module UI specs.

    We are today working at  developing some new features:
  • Helping manager application development. This is done thanks to a JMX Manager Wizard. Very similar and symetric to the JMX Agent. 2 panels.
    • Panel 1: Idem JMX Agent. Labels changed to cope with client context.
    • Panel 2: JMX Agent URL selection.
  • 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.
  • Create JUnit tests for a MBean. Contextual action that target the select MBean class java file.
  • Updating existing MBean. Contextual actions that target the select java file.
    • Add attributes to MBean that follow standard MBean design pattern.
    • Add operations to MBean that follow standard MBean design pattern.
    • Make any MBean implements NotificationEmitter.
      • Notification Emitter action workflow :
        1. Select a Java class. MBean pattern detection. If it is an MBean which doesn't implement NotificationBroadcaster interface, then enable such action.
    • Make any MBean implements MBeanRegistration.
      1. Select a Java class. MBean pattern detection. If it is a MBean which not implements MBeanRegistration interface, then enable action.
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by