File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

.war files

Jim Lang

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.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Get a copy of the Java Servlet 2.2 API to see a discussion of the use of WAR (Web ARchive) files. 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.
<plug>Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2 </plug>
Jim Lang

Joined: Oct 04, 2000
Posts: 27
Thanks Bill
That's a very helpful document.
You're that Bill Brogden?! we're not worthy...
I agree. Here's the link:
subject: .war files
It's not a secret anymore!