In a terminal window, go to:
tut-install/examples/persistence/order/ |
Type the following command:
ant |
This runs the default task, which compiles the source files and packages the application into a WAR file located at tut-install/examples/persistence/order/dist/order.war.
To deploy the WAR, make sure that the GlassFish Server is started, then type the following command:
ant deploy |
Open a web browser to http://localhost:8080/order/ to create and update the order data.