Red Hat Training

A Red Hat training course is available for Red Hat JBoss Developer Studio

2.8. Deploy the Application using JBoss Server Tools

The TicketMonster application can be deployed on the JBoss EAP 6.x server created earlier in the tutorial. The procedure below guides you through how to do this.

Procedure 2.8. Deploy the Application Using JBoss Server Tools

  1. In the Project Explorer view, right-click the ticket-monster project name and click Run AsRun on Server.
  2. In the Run On Server wizard, ensure Choose an existing server is selected.
  3. From the Select the server that you want to use table, select jboss-eap-6.x and click Finish.
If not already in view, the Console view automatically opens and shows the runtime server output. Also, a Web Browser automatically opens and displays the web page of the running TicketMonster application.
In the Run On Server wizard, ensure Choose an existing server is selected. In the Select the server that you want to use table, select jboss-eap-6.x and click Finish.

Figure 2.13. JBoss EAP 6.x Selected in Run on Server Wizard

In the Web Browser, enter sample Member data in the Member Registration fields and click Register. The submitted data is displayed in the Members table, which is visible at the bottom of the web page.
In the Web Browser, enter sample Member data in the Member Registration pane and click Register.

Figure 2.14. Sample Data in the Member Registration Fields