| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html> |
| <head> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ --> |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" /> |
| <title>Web archive (WAR) files</title> |
| </head> |
| <body id="cwwarovr"><a name="cwwarovr"><!-- --></a> |
| |
| <h1 class="topictitle1">Web archive (WAR) files</h1> |
| <div><p>A Web application is a group of HTML pages, JSP pages, servlets, resources and source |
| |
| file, which can be managed as a single unit. A Web archive (WAR) file is a |
| |
| packaged Web application. WAR files can be used to import a Web application |
| |
| into a Web server.</p> |
| <p>In addition to project resources, the WAR file includes a Web deployment |
| |
| descriptor file. The Web deployment descriptor is an XML file that contains |
| |
| deployment information, MIME types, session configuration details, and other |
| |
| settings for a Web application. The Web deployment descriptor file (<span class="filepath">web.xml</span>) |
| |
| provides information about the WAR file is shared with the developers, assemblers, |
| |
| and deployers in a J2EE environment.</p> |
| <div class="p">The Web development environment provides facilities for importing and exporting |
| |
| WAR files, using the following wizards: <ul><li><span>Import Resources from a WAR File</span>, which requires that you to |
| |
| specify a Web project. You can use existing projects or create them as you |
| |
| use the wizard.</li> |
| <li><span>Export Resources to a WAR File</span>, which requires only an export |
| |
| location and some optional settings</li> |
| </ul> |
| </div> |
| </div> |
| <div><p><b class="relconceptshd">Related concepts</b><br /> |
| <a href="ccwtover.html" title="">Web application overview</a><br /> |
| <a href="cwebdevelopmenttools.html" title="">Web development tools</a><br /> |
| <a href="ccwebprj.html" title="">Dynamic Web projects and applications</a><br /> |
| </p> |
| <p><b class="reltaskshd">Related tasks</b><br /> |
| <a href="twimpwar.html">Importing Web archive (WAR) files</a><br /> |
| <a href="twcrewar.html">Exporting Web archive (WAR) files</a><br /> |
| </p> |
| </div> |
| </body> |
| </html> |