WAS v8.5 > Administer applications and their environment > Use the administrative clients > Use administrative programs (JMX)Create a custom Java administrative client program using WAS administrative Java APIs
This section describes how to develop a Java program for accessing the WebSphere Application Server administrative system using the product administrative APIs.
This task assumes a basic familiarity with Java Management Extensions (JMX) API programming. For information on the Java APIs, view the application programming interfaces documentation. When you develop and run administrative clients that use various JMX connectors and that have security enabled, use the following guidelines. When you follow these guidelines, you guarantee the behavior among different implementations of JMX connectors. Any programming model that strays from these guidelines is unsupported.
- Create and use a single administrative client before you create and use another administrative client.
- Create and use an administrative client on the same thread.
- Use one of the following ways to specify a user ID and password to create a new administrative client:
- Specify a default user ID and password in the property file.
- Specify a user ID and password other than the default. Once you create an administrative client with a nondefault user ID and password, specify the nondefault user ID and password when we create subsequent administrative clients.
- Develop an administrative client program.
- Build and run the administrative client program.
The steps required to build and run your program depends on the kind of application environment your code runs.
Refer to Using application clients for details on how to build and run your administrative client program.
Subtopics
- Develop an administrative client program
This topic describes how to develop an administrative client program that utilizes WAS administrative APIs and JMX.- Develop an administrative client program
This topic describes how to develop an administrative client program that utilizes WAS administrative APIs and Java Management Extensions (JMX).
Related concepts:
Additional Application Programming Interfaces (APIs)
Related
Use application clients