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 Servlets and the fly likes .war files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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: 13001
    
    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...
 
Have you checked out Aspose?
 
subject: .war files
 
It's not a secret anymore!