Export the contents

To export the contents as a .war file into the JBoss deployment folder:

  1. Make sure Eclipse is in the Java EE perspective by clicking Window > Open Perspective.
  2. Right-click DynWebTest1 in the Project Explorer.
  3. Select Export > WAR file. This opens the WAR Export dialog box.
  4. Click Browse.
  5. In the Save As dialog box, click Browse Folders and navigate to the [jboss-installation]\server\default\deploy folder.
  6. Click Save then Finish.
  7. 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.