Building WARs
This creates a WAR file containing all the Web objects and deployment descriptors of a Web project.
The WAR file will also be created in the Web project when an EAR file that references the Web Module project is built.
1. In the J2EE Explorer view, select the Web Module project.
2. From the context menu, choose Build WAR File.
A WAR
file with the same name as the Web project is created. You can now reference
the WAR from an Enterprise project. See
Adding Modules to
Enterprise Projects.