Access to MBeans

You can use jconsole to inspect and use the MBeans :

MBeans in JConsole

To test the MBeans :

  1. Click on the JConsole MBeans tab.
  2. Expand quickstarts in the left column of the console.
  3. Under quickstarts, you see the 4 MBeans: AnnotatedComponentHelloWorld, MXComponentHelloWorld, MXPojoHelloWorld, and SarMXPojoHelloWorld
  4. Expand each MBean and choose: Operations --> sayHello.
  5. Type your name in the (p0 String ) input text box and click the sayHello button.
  6. You will see a popup Window displaying Hello <your name>!.