This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes .war files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark ".war files" Watch ".war files" New topic
Author

.war files

Jim Lang
Greenhorn

Joined: Oct 04, 2000
Posts: 27
Hi there,
I have done some JSP and Servlet programming before, but have only recently come across the '.war' format for distributing a packaged Web application. It would be a real help if someone could please offer a quick overview of what this standard format should contain and how it would normally be bundled up. For info, I noticed this in the latest release of Tomcat. All replies are much appreciated.
Jim
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
Get a copy of the Java Servlet 2.2 API to see a discussion of the use of WAR (Web ARchive) files. java.sun.com has it.
WAR files are packaged up like jar files - the idea is that you can put all files used in an application in a single file, ready to deploy.
Bill
<plug>Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2 </plug>
Jim Lang
Greenhorn

Joined: Oct 04, 2000
Posts: 27
Thanks Bill
That's a very helpful document.
You're that Bill Brogden?! we're not worthy...
 
 
subject: .war files
 
Similar Threads
Final delivery of the software in which format
absolute file path in a war file
Is a standalone war file treated as part of a "master" web-app?
best place to put configuration properties.
What are ear,war and jar files ?