Section 10.14. J2EE Web Services Checklist


10.14. J2EE Web Services Checklist

Before we move on to test the JAW Motors application's new Web Service functionality, let's recap what we've done to implement a J2EE 1.4 Web Service:

  • Created the InventoryEndpoint Service Endpoint Interface (SEI) to expose EJB methods as Web Service operations

  • Added a <service-endpoint> element to ejb-jar.xml to tell JBoss that the InventoryFacadeBean EJB implements the InventoryEndpoint Service Endpoint Interface

  • Generated the webservices.xml to register the Web Service and tie the InventoryEndpoint Service Endpoint Interface to an implementationthe InventoryFacadeBean

  • Created the JAX-RPC Mapping File to define JAX-RPC type mappings for the parameters and return values for the InventoryEndpoint's method

  • Generated the inventory-mapping.xml WSDL file to define the Web Service and tie it to XML Schema data types

  • Set the Web Service URL by modifying jboss.xml with the Inventory Web Service URL

  • Modified the InventoryFacadeBean:

    • Added Web Services-related XDoclet tags

    • Added the findAvailableCars( ) method and used an XML Schema-compatible data type%

  • Upgraded deployment by modifying the Ant build script:

    • Fixed XDoclet-generated descriptors

    • Modified the Web Service URL in jboss.xml

    • Used JWSDP to generate the JAX-RPC and WSDL files



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

Similar book on Amazon

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