In a terminal window, go to:
tut-install/examples/ejb/counter |
Type the following command:
ant all |
This will build and deploy counter to your GlassFish Server instance.
In a web browser, type the following URL:
http://localhost:8080/counter |
Click the browser’s Refresh button to see the hit count increment.