Summary
In this chapter, we learned that WAS has several tools for use in automation. Scripts can be run to either configure WAS or manage the runtime process, such as stopping and starting servers and/or applications.
We looked at the two most common tools used in WAS automation—wsadmin and ws_ant. We explained that ws_ant is based on Apache Ant and can be used for basic deployments and installs, however, it is really only suited for development environments. The wsadmin tool, however, can be used to configure all elements of WebSphere and provides an extensive set of methods that can configure the internals of WebSphere. Larger enterprises typically implement Jython using wsadmin, as opposed to ws_ant. however, both tools have their uses. wsadmin using Jython stretches across both development and production environments.
We were also shown how to create a more advanced Jython script, which included a class. We used this class to change WAS configuration via the command line. We also extended...