The wsadmin tool
WebSphere Application Server supports the use of both JACL and Jython languages for administrative scripting. For the purposes of this book, we will only refer to Jython.
Jython is an implementation of the high-level, dynamic, object-oriented Python language written in pure Java, and is employed by WAS. By using Jython scripts, we can readily craft administrative tasks and run them in an automated fashion using the WAS administration command-line tool. By creating scripts, we can automate both configurations and application deployments .The scripts are shown as follows:
For Linux/Unix:
wsadamin.sh
For Windows:
wsadmin.bat
The wsadmin tool acts as an interface to WAS Java objects for access by scripts. Internally, WAS employs the JMX API to create MBeans (JMX management objects) that are exposed as an API of internal WAS objects, which wsadmin can utilize to configure WAS.
Note
If you wish to learn more about MBeans, go to http://java.sun.com/docs/books/tutorial/jmx/mbeans/index...