This example takes you through the steps to develop a Web service from an enterprise JavaBean (EJB) implementation. The development process is based on the Web Services for Java 2 platform, Enterprise Edition (J2EE) specification.
The implementation must meet the following Web Services for J2EE specification requirements:
The selected methods of an EJB must not have a transaction attribute of Mandatory, because there is no standard for Web services transactions at this time.
A Java bean in a Web container requires the following:
Developing a Web service requires a Service Endpoint Interface.
If you are using an EJB implementation, develop a Service Endpoint Interface from an EJB remote interface.
If you are using a Java bean implementation, develop a Service Endpoint Interface for a Java bean implementation.
If you are using an EJB implementation, develop Web services deployment descriptor templates from an EJB implementation.
If you are using a Java bean implementation, develop Web services deployment descriptor templates for a Java bean implementation.
By setting the ejb-link or servlet-link values of the service-impl-bean elements you can link to the EJB or Java bean that implements the service.
Configure the webservices.xml deployment descriptor.
Configure the ibm-webservices-bnd.xmi deployment descriptor.
This step only applies if you are using an EJB implementation.
Review the Javadoc for a complete list of API's. You can also review several articles about the development of Web services at Web services: Resources for learning.