Exporting web archive (WAR) files
A web archive (WAR) file is a packaged web application that can be exported to test, publish, and deploy the resources that are developed within a web project. You can export a WAR file from a web project.
Procedure
- Right-click on a web project folder and select .
- Specify the web project that you want to export (this field is primed if you used the popup menu to open the wizard), and specify a location for the new WAR file
- Optional: Specify WAR export options, such as whether to include Java™ source files in the WAR, and whether to overwrite any existing resources during the export process. Source files are not included in a WAR file, because they are not necessary for the server to run the web application. You can also optimize it for a specific server runtime.
- Click Finish.