In a terminal window, go to:
tut-install/examples/cdi/simplegreeting/ |
Type the following command:
ant |
This command calls the default target, which builds and packages the application into a WAR file, simplegreeting.war, located in the dist directory.
Type the following command:
ant deploy |
Typing this command deploys simplegreeting.war to the GlassFish Server.