WAS v8.5 > Script the application serving environment (wsadmin)Scripting concepts
Scripting provides a non-graphical alternative to the dmgr console. Using wsadmin, we can run scripts to manage the product. The wsadmin tool supports two scripting languages: Jacl and Jython. Five objects are available with scripts: AdminControl, AdminConfig, AdminApp, AdminTask, and Help. Scripts use these objects to communicate with MBeans that run in product processes. MBeans are Java objects that represent JMX resources. JMX is a technology that provides a simple and standard way to manage Java objects.
Subtopics
- Use wsadmin scripting with JMX
JMX is a framework that provides a standard way of exposing Java resources, for example, application servers, to a system management infrastructure. Using the JMX framework, a provider can implement functions, such as listing the configuration settings, and editing the settings. This framework also includes a notification layer that management applications can use to monitor events such as the startup of an application server.- WAS configuration model using wsadmin.sh
Understanding the relationship between the different configuration objects is essential when creating wsadmin scripts that perform configuration function.- Use wsadmin scripting with Jacl
Jacl is an alternate implementation of TCL, and is written entirely in Java code.- Use wsadmin scripting with Jython
Jython is an alternate implementation of Python, and is written entirely in Java.