Automated deployment using Jython based wsadmin scripting
In this section we introduce you to the WebSphere scripting client called wsadmin, and the new scripting language used in the client, called Jython.
WebSphere Application Server's administration model is based on the Java Management Extensions (JMX) framework. JMX enables you to wrap hardware and software resources in Java and expose them in a distributed environment. WebSphere's administrative services provides functions that use the JMX interfaces to manipulate the application server configuration, which is stored in a XML based repository in the server's file system. Application Server provides the following tools that aid in administration of its configuration:
| Command-line commands-These executable commands can be found in the <was_install_root>/bin folder and also in the <was_profile_root>/bin folder.
|
| wsadmin scripting client-A command-line interface. Scripts can be used to automate the administration of multiple application servers and nodes.
|
| Thin client-A lightweight runtime package that enables you to run the wsadmin tool or a standalone administrative Java program remotely.
|