Export the content

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

  1. Make sure Eclipse is in the Java EE perspective, click Window > Perspective > Open Perspective > Other. Click Java EE and then click OK.
  2. In Project Explorer, right-click the DynWebTest1 project.
  3. Click Export > WAR file.

    This opens the Export dialog box.

  4. Click Browse.

    This opens the Save As dialog box.

  5. Navigate to the [jboss-installation]\standalone\deployments folder.
  6. Click Save.
  7. Click Finish.
  8. You need to create an empty deployed file called DynWebTest1.war.deployed in the [jboss-installation]\standalone\deployments folder.

The application is now deployed to the JBoss AS server. In the Servers tab, right-click JBoss AS 7.1 Runtime server and then click Start.