You can use JConsole to inspect and use the MBeans.
To connect to the JBoss EAP server using JConsole, open a command prompt and type the following command :
Select the local org.jboss.modules.Main process and click Connect. You are presented with the following screen.
To test the MBeans :
quickstarts in the left column of the console.quickstarts, you see the 4 MBeans: AnnotatedComponentHelloWorld, MXComponentHelloWorld, MXPojoHelloWorld, and SarMXPojoHelloWorldOperations --> sayHello.<your name>!.