+

Search Tips   |   Advanced Search

Create a custom Java admin client program using WAS admin Java APIs


This section describes how to develop a Java program for accessing the WAS administrative system by using WAS admin APIs.

This task assumes a basic familiarity with Java Management Extensions (JMX) API programming. For information on the Java APIs, view the APIs documentation.

When you develop and run admin 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 model that strays from these guidelines is unsupported.

  1. Create and use a single admin client before you create and use another admin client.

  2. Create and use an admin client on the same thread.

  3. Use one of the following ways to specify a user ID and password to create a new admin 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 admin client with a nondefault user ID and password, specify the nondefault user ID and password when creating subsequent administrative clients.

 

  1. Develop an administrative client program.

  2. Build and run the admin client program.

    The steps required to build and run the program depends on the kind of application environment the code runs.

    Refer to Using application clients for details on how to build and run the admin client program.


Develop an admin client program

 

Related concepts


Additional Application Programming Interfaces (APIs)

 

Related tasks


Use application clients