Instead of writing a Java administrative program, consider several other
options that you can use to manage WebSphere Application Server processes.
These options include: wsadmin, the administrative console, or the administrative
command line tools. The administrative tools provide most of the functions
you might need to manage the product and the applications that run in the
WebSphere Application Server. You can use the command line tools from automation
scripts to control the servers. Scripts written for the wsadmin scripting
tool offer a wide range of possible custom solutions that you can develop
quickly.
You might have management features for your application or operating
environment that are not implemented in the basic WebSphere Application Server
administrative system. In this case, you can use the administrative classes
and methods to add newly managed objects to the administrative system. You
can also incorporate WebSphere Application Server administration into other
Java programs by using the Java administrative APIs.