By srccodes
via srccodes.com
Published: Aug 19 2012 / 12:03
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.
Comments
Yurik Tyrant replied ago:
Why not just invoke wsadmin.bat directly and not bother with the Ant script and Java app?
srccodes replied ago:
Because some time we may need to start / stop an application programatically (using code) rather than manually executing the wsadmin from the command prompt.
Voters For This Link (7)
Voters Against This Link (1)