To export the content as a
.war file into the JBoss deployment folder:
- Make sure Eclipse is in the Java EE perspective, click
. Click
Java EE and then click
OK.
- In
Project Explorer, right-click the DynWebTest1 project.
- Click
.
This opens the
Export dialog box.
- Click
Browse.
This opens the
Save As dialog box.
- Navigate to the
[jboss-installation]\standalone\deployments folder.
- Click
Save.
- Click
Finish.
- 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.