Section 10.12. Web Services Deployment


10.12. Web Services Deployment

The new files go into the EJB JAR file as follows:

  • In addition to the ejb-jar.xml, jboss.xml, and JAR Manifest files, the META-INF directory now contains webservices.xml and inventory-mapping.xml (the JAX-RPC mapping file). The WSDL file, InventoryService.wsdl, is in META-INF/wsdl.

  • The com/jbossatwork/ws directory holds the InventoryService (Service Endpoint Interface) class file.

  • Everything else remains unchanged.

The new CarDTOArray object class has been added to the com.jbossatwork.dto package, so its class file resides in the Common JAR's com/jbossatwork/dto directory.

At this point, we've shown all the Web Services-related deployment descriptors and upgraded InventoryFacadeBean. Let's show how to generate the descriptors and package the Web Service for deployment with Ant, XDoclet, and JWSDP.



JBoss at Work. A Practical Guide
JBoss at Work: A Practical Guide
ISBN: 0596007345
EAN: 2147483647
Year: 2004
Pages: 197

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net