29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

You can run the wsadmin tool in interactive and unattended mode. Use the<br />

wsadmin tool to perform the same tasks that you perform with the Integrated<br />

Solutions Console.<br />

<strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong> adds command assistance in the Integrated<br />

Solutions Console that maps your administrative activities to wsadmin scripting<br />

commands written in Jython. These commands can be viewed from the<br />

Integrated Solution Console, and if you want, you can log the command<br />

assistance data to a file. You can also allow command assistance to emit JMX<br />

notifications to Rational <strong>Application</strong> Developer Assembly and Deploy V7.5.<br />

Rational <strong>Application</strong> Developer Assembly and Deploy V7.5 has Jython<br />

development tools that help you develop and test Jython scripts.<br />

9.3.3 Task automation with Ant<br />

<strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong> provides a copy of the Ant tool and a set of<br />

Ant tasks that extend the capabilities of Ant to include product-specific functions.<br />

Ant has become a popular tool among Java programmers.<br />

Apache Ant is a platform-independent, Java-based build automation tool,<br />

configurable through XML script files and extensible through the use of a Java<br />

API. In addition to the base Ant program and tasks, <strong>WebSphere</strong> <strong>Application</strong><br />

<strong>Server</strong> provides a number of tasks that are specific to managing and building<br />

applications in <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong>.<br />

The Ant environment enables you to create platform-independent scripts that<br />

compile, package, install, and test your application on <strong>WebSphere</strong> <strong>Application</strong><br />

<strong>Server</strong>. It integrates with wsadmin scripts and uses Ant as their invocation<br />

mechanism.<br />

For information about Apache Ant, see the following Web page:<br />

http://ant.apache.org<br />

9.3.4 Administrative programming<br />

<strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong> supports access to the administrative<br />

functions through a set of Java classes and methods. You can write a Java<br />

application that performs any of the administrative features of the <strong>WebSphere</strong><br />

<strong>Application</strong> <strong>Server</strong> administrative tools. You can also extend the basic<br />

<strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> administrative system to include your own<br />

managed resources.<br />

Chapter 9. System management 317

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!