This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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: 387
    
    2

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

Joined: May 26, 2003
Posts: 29275
    
140

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: 281
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which method to use for deployment for websphere :- Ant OR Wsadmin?
 
Similar Threads
j2ee application deployment in websphere
WAS Deploy
Compile and Deploy EJB without RAD,WASD
WAS 7 Please specify a different location with -tracefile option.
WsAnt task -- Please specify a different location with -tracefile option.