Follow these instructions to build, package, and deploy the helloservice example to your Application Server instance using Ant.
In a terminal window, go to the tut-install/javaeetutorial5/examples/ejb/helloservice/ directory.
To build helloservice, type the following command:
ant |
This runs the default task, which compiles the source files and packages the application into a JAR file located at tut-install/examples/ejb/helloservice/dist/helloservice.jar.
To deploy helloservice, type the following command:
ant deploy |
Upon deployment, the Application Server generates additional artifacts required for web service invocation, including the WSDL file.