O'Reilly logo

Java 7 JAX-WS Web Services by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the deployment targets

We shall be deploying the web service to the Oracle GlassFish Server. A build file fragment may be used for specifying deployment targets. Create a deploy-targets.xml file in the config directory. Specify properties for the GlassFish Server directory, the build directory, the .war file directory, the build classes directory, and the GlassFish domain name. Create a "deploy" target to deploy the web service WAR file to the autodeploy directory of the GlassFish Server domain. Deploying to the GlassFish Server is essentially copying to the autodeploy directory. The deploy-targets.xml file is listed as follows:

<?xml version="1.0" encoding="UTF-8"?> <project> <property name="as.home" value="C:/glassfish3/glassfish"/> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required