JMX is Ready for NetBeans 6

All,
an alpha release of the JMX netbeans module is now available from the NetBeans Development Update Center (UC).

The support for JMX instrumentation has been enhanced with a new wizard for MXBeans, support for the Java SE plaform 6 JConsole Plugins and a lot of other improvements throughout.

How do you install and use it?

  • Download NetBeans 6.0 from NetBeans download
  • Download the module from the NetBeans Update Center : Tools/Update Center
  • Select and install the Management/JMX module.
This release is "hot off the press" and still subject to improvements. Your feedback will be most welcome.

Jean-Fran├žois

The main enhancements

MBean wizard

  • New category JMX, which used to be named Management.
  • Added support for MXBean.
  • One wizard per type of MBean (MBean, MXBean, From an Existing Java Class, StandardMBean).
    Previous release wizard dealt with all kinds of MBeans. This added unnecessary complexity.
  • Removal of Dynamic MBean support. If you want to add metadata to your management interface, use the StandardMBean wizard.
  • Removal of JUnit test case generation. Instead, use NetBeans' native JUnit support to generate unit tests for your MBeans.

Contextual actions to update MBean classes

These actions are now contextual to the Editor. It is no longer necessary to select an MBean Class Node in the Project tree.

Agent Wizard

  • This wizard has been removed. It used to place excess constraints on MBean registration.
  • MBean registration in the Platform MBeanServer can now be generated in any Java source.
    Thanks to a new Contextual Editor action (JMX/Generate MBean Registration...) you generate MBean registration code where you want to.

    • Position your mouse pointer where you want registration code to be generated

    • Right click, select JMX/Generate MBean Registration...
    • The MBean registration window pops up. Select (or type in) the Class of MBean you want to register
    • Click OK, and the code to register your MBean in the Platform MBeanServer is generated
    Simpler, no?

Management and Monitoring Support for Java SE projects

  • Better integration of M&M configuration in a new "Monitoring and Management" Project Properties Node
  • JConsole project auto-connect has been extended with the ability to provide JConsole plugins.

JConsole Options

Ability to configure JConsole through NetBeans Options (JConsole options are located in the Miscellaneous category).

Current issues and limitations

  • Some generated code is not properly indented.
  • Some generated comments are replicated.
  • Manager wizard. Generation of the code to establish a secure connection is not working. Don't select this option.
  • Tutorial and JavaHelp have not yet been updated.
  • For people building the module from the sources (CVS module "management"), functional tests have not yet been updated.
Comments:

Post a Comment:
Comments are closed for this entry.
About

jeanfrancoisdenise

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today