Java Reference
In-Depth Information
Running the example
Deploying the application requires, as usual, packaging it using the following Maven goal:
mvn package
[INFO] Scanning for projects...
[INFO]
[INFO]
---------------------------------------------------------------
[INFO] Building ticket-agency-jpa 1.0
[INFO]
---------------------------------------------------------------
[INFO] Building war:
C:\chapter5\ticket-agency-jpa\target\ticket-agency-jpa.war
. . . .
[INFO]
---------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
---------------------------------------------------------------
[INFO] Total time: 1.799s
Finally, provided that you have installed the WildFly Maven plugin, you can deploy your
application using the following command:
mvn wildfly:deploy
Once the deployment has successfully completed, visit http://localhost:8080/
ticket-agency-jpa/ to view the application's welcome page, as shown in the follow-
ing screenshot:
Search WWH ::




Custom Search