1.4.3. Run the Quickstarts
1.4.3.1. Run the Quickstarts in JBoss Developer Studio
Procedure 1.6. Import the quickstarts into JBoss Developer Studio
Each quickstart ships with a POM (Project Object Model) file that contains project and configuration information for the quickstart. Using this POM file, you can easily import the quickstart into JBoss Developer Studio.
- If you have not done so, Section 2.3.2, “Configure the JBoss EAP 6 Maven Repository Using the Maven Settings”.
- Start JBoss Developer Studio.
- From the menu, select File → Import.
- In the selection list, choose Maven → Existing Maven Projects, then click Next.
Figure 1.7. Import Existing Maven Projects
- Browse to the directory of the quickstart you want to import and click OK. The Projects list box will be populated with the
pom.xml
file of the selected quickstart project.Figure 1.8. Select Maven Projects
- Click Next, then click Finish.
Procedure 1.7. Build and Deploy the helloworld
quickstart
The
helloworld
quickstart is one of the simplest quickstarts and is a good way to verify that the JBoss server is configured and running correctly.
- Open the Servers tab. To add it to the panel:
- Click Window → Show View → Other....
- Select Servers from the Server folder and click Ok.
- Right click on helloworld in the Project Explorer tab, and select Run As → Run on Server.
- Select the JBoss EAP 6.2 Runtime Server server and click Next. This should deploy the
helloworld
quickstart to the JBoss server. - View the server console. You should see the following messages:
JBAS018210: Register web context: /jboss-helloworld JBAS018559: Deployed "jboss-helloworld.war" (runtime-name : "jboss-helloworld.war")
The registered web context is appended tohttp://localhost:8080
to provide the URL used to access the deployed application. - To verify that the
helloworld
quickstart was deployed successfully to the JBoss server, open a web browser and access the application at this URL: http://localhost:8080/jboss-helloworld