kprice | 9c922d8 | 2006-08-30 22:07:19 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
| 2 | <!--Arbortext, Inc., 1988-2005, v.4002-->
|
| 3 | <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
|
| 4 | "concept.dtd">
|
| 5 | <concept id="cwwarovr" xml:lang="en-us">
|
| 6 | <title>Web archive (WAR) files</title>
|
| 7 | <prolog><metadata>
|
| 8 | <keywords><indexterm>WAR files<indexterm>overview</indexterm></indexterm>
|
| 9 | </keywords>
|
| 10 | </metadata></prolog>
|
| 11 | <conbody>
|
| 12 | <p> A Web application is a group of HTML pages, JSP pages, servlets, resources
|
| 13 | and source file, which can be managed as a single unit. A Web archive (WAR)
|
| 14 | file is a packaged Web application. WAR files can be used to import a Web
|
| 15 | application into a Web server.</p>
|
| 16 | <p>In addition to project resources, the WAR file includes a Web deployment
|
| 17 | descriptor file. The Web deployment descriptor is an XML file that contains
|
| 18 | deployment information, MIME types, session configuration details, and other
|
| 19 | settings for a Web application. The Web deployment descriptor file (<filepath>web.xml</filepath>)
|
| 20 | provides information about the WAR file is shared with the developers, assemblers,
|
| 21 | and deployers in a J2EE environment.</p>
|
| 22 | <p>The Web development environment provides facilities for importing and exporting
|
| 23 | WAR files, using the following wizards: <ul>
|
| 24 | <li><ph>Import Resources from a WAR File</ph>, which requires that you to
|
| 25 | specify a Web project. You can use existing projects or create them as you
|
| 26 | use the wizard.</li>
|
| 27 | <li><ph>Export Resources to a WAR File</ph>, which requires only an export
|
| 28 | location and some optional settings</li>
|
| 29 | </ul></p>
|
| 30 | </conbody>
|
| 31 | </concept>
|