Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 835155 thumbnail
User 1035345 avatar

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.
  • 7
  • 1
  • 1185
  • 1229

Comments

Add your comment
User 840261 avatar

Yurik Tyrant replied ago:

0 votes Vote down Vote up Reply

Why not just invoke wsadmin.bat directly and not bother with the Ant script and Java app?

User 1035345 avatar

srccodes replied ago:

0 votes Vote down Vote up Reply

Because some time we may need to start / stop an application programatically (using code) rather than manually executing the wsadmin from the command prompt.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (1)