To build the JAX-WS service and client library and to package and deploy the JAX-WS service using NetBeans IDE, follow these steps:
In NetBeans IDE, choose Open Project from the File menu.
In the Open Project dialog, navigate to tut-install/javaeetutorial5/examples/coffeebreak/.
Select the cb-jaxws folder.
Select the Open as Main Project and Open Required Projects check boxes.
Click Open Project.
Right-click the cb-jaxws project and choose Build.
Right-click the cb-jaxws project and choose Undeploy and Deploy.
To build the JAX-WS service and client library and to package and deploy the JAX-WS service using Ant, follow these steps:
In a terminal window, go to tut-install/javaeetutorial5/examples/coffeebreak/cb-jaxws/.
Run ant. This task calls the default target, which compiles the source files of the JAX-WS service.
Make sure the Application Server is running.
Deploy the JAX-WS service:
ant deploy |