Programmatically Start or Stop an Application, deployed in IBM WebSphere Application Server (WAS) using Java Code and ANT script

By Abhijit Ghosh on Aug 17, 2012 12:41:54 PM

This tutorial describes how an application, deployed in IBM WebSphere Application Server (WAS) can be started or stopped programmatically using Java code. The sample java code invokes and executes an ANT script which uses 'wsadmin' scripting tool and the AdminControl object to start / stop the application.


Invoke and Execute Hello World Ant Script Programmatically using Java Code

By Abhijit Ghosh on Aug 6, 2012 1:35:28 PM

Apache Ant is an XML-based build tool to automate different tasks like compile, assemble, test source code, building deployment packages and run Java applications. This Hello World example shows how to invoke and run a simple Ant script programmatically using java code.


About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.