JMX examples
You can write a Java program that performs any of the administrative features of WebSphere Application Server administration. The following examples show you how to use Java programs in order to customize administration using JMX:
Example: Administrative client program
This example is an administrative client program that starts an application server through a node agent in a Network Deployment environment and outputs all events that occur until the server ends.Example: J2EE security permissions
This example gives you the parameters necessary to grant J2EE security permissions in order to call JMX methods.