Follow these instructions to build, package, and deploy the timersession example to your Application Server instance using Ant.
In a terminal window, go to the tut-install/javaeetutorial5/examples/ejb/timersession/ directory.
To build TimerSessionBean, type the following command:
ant build |
This runs the default task, which compiles the source files and packages the application into an EAR file located at tut-install/examples/ejb/timersession/dist/timersession.ear.
To deploy the application, type the following command:
ant deploy |