This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to call WAR File using WSAD 5.1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to call WAR File using WSAD 5.1.1" Watch "How to call WAR File using WSAD 5.1.1" New topic
Author

How to call WAR File using WSAD 5.1.1

Ramesh Krishna
Greenhorn

Joined: May 17, 2004
Posts: 25
Hi
In WSAD5.1.1 , J2EE Project How to use war file .
Can I put that in /WEB-INF/lib? Tell me what r the ways to run the war file

Thanks in Advance
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Um ... WARs aren't run at all ---- they're deployed!


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Ramesh,
To run (aka deploy) in WSAD, you need to create an enterprise application (EAR) project for your WAR to be part of. You probably have one already. You also need to create a server and add your EAR to the server.

Then just right click an HTML page and publish. Alternatively, start the server and go to the URL.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to call WAR File using WSAD 5.1.1
 
It's not a secret anymore!