To export the contents as a
.war file into the JBoss deployment folder:
- Make sure Eclipse is in the Java EE perspective by clicking
Window > Open Perspective.
- Right-click DynWebTest1 in the Project Explorer.
- Select
Export > WAR file. This opens the WAR Export dialog box.
- Click
Browse.
- In the Save As dialog box, click
Browse Folders and navigate to the
[jboss-installation]\server\default\deploy folder.
- Click
Save then
Finish.
- If prompted to save any changes from previously modified source files, do so.
The application is now deployed to the JBoss web server. Expand JBoss 6.x Runtime Server in the Servers tab to view.