Home

 

Overview of wsadmin

The wsadmin tool is a scripting client that has a command-line interface. It is targeted towards advanced administrators. It provides extra flexibility that is available through the Web based administrative console and helps make the administration much quicker. It is primarily used to automate administrative activities that can consist of several administrative commands and need to be executed repetitively.

The wsadmin client uses the Bean Scripting Framework (BSF). The BSF supports a variety of scripting languages. Prior to WebSphere Application Server V6, only one scripting language was supported, Java Command Language (Jacl). Application Server now supports two languages: Jacl and Jython (or jpython).

Jython is the strategic direction. New tools in WebSphere Application Server v7.0, RAD Assembly and Deployment (RAD-AD), and Rational Application Developer v7.5 are available to help create scripts using Jython. A Jacl-to-Jython migration tool is included with the Application Server.

There are five wsadmin objects that are available to use in the scripts:

AdminControl- This object is used to run operational commands.

AdminConfig-This object is used to create or modify Application Server configurational elements.

AdminApp-This object is used to administer applications.

AdminTask-This object is used to run administrative commands.

Help-This object is used to obtain general help.
ibm.com/redbooks