This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Websphere and the fly likes Which method to use for deployment for websphere :- Ant OR Wsadmin? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Which method to use for deployment for websphere :- Ant OR Wsadmin?" Watch "Which method to use for deployment for websphere :- Ant OR Wsadmin?" New topic
Author

Which method to use for deployment for websphere :- Ant OR Wsadmin?

Ouney Gags
Greenhorn

Joined: Jan 23, 2011
Posts: 8
Hi,

I have to automate the deployment process for websphere which can be done through Ant and wsadmin scripts both.
But i am not so certain about "Which approach is the best approach among these two"?
Could somebody help me with this?
Roger Sterling
Ranch Hand

Joined: Apr 06, 2012
Posts: 426

Usually Ant drives wsadmin commands. Its not which one, you use both.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30795
    
157

You can run wsadmin commands through the command line too, right?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 475
    
    1

Hi,

It depends on how complex is your deployment process... i usually simply use wsadmin -f <file> where <file> is a script containing
deployment instructions.
By the way I never studied in depth WAS Scripting Language, I simply copied and pasted istructions you can get from Admin Console
in the file forementioned.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Which method to use for deployment for websphere :- Ant OR Wsadmin?