O'Reilly logo

Java EE Development with Eclipse 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 a build file

We compile and package the web service using the Apache Ant tasks wsdlc and jwsc. We deploy the web service to WebLogic Server. We generate web service client files using the Apache Ant task clientgen and subsequently test the web service using the client class. The build.xml file generates, packages, and deploys the web service as an EAR file to the WebLogic Server. First, we need to create the build.xml file. Select the project folder and select File | New | Other. In the New wizard select XML | XML File and click on Next. In the New XML File window specify build.xml as File name and click on Finish, as shown in the following screenshot:

In the build.xml file add property elements for the properties listed in the following ...

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