Red Hat Training

A Red Hat training course is available for Red Hat JBoss Enterprise Application Platform

9.3. Deploying JBoss MBean Services

To build and deploy the sample MBeans (ServiceMBeanTest.sar) in Domain mode use the following commands:
[domain@localhost:9999 /] deploy ~/Desktop/ServiceMBeanTest.sar
[domain@localhost:9999 /] deploy ~/Desktop/ServiceMBeanTest.sar --all-server-groups
To build and deploy the sample MBeans (ServiceMBeanTest.sar) in Standalone mode use the following command:
[standalone@localhost:9999 /] deploy ~/Desktop/ServiceMBeanTest.sar
To undeploy the sample MBeans use the following command:
[standalone@localhost:9999 /] undeploy ServiceMBeanTest.sar