[Version 5.0.2 and later]Completing the EJB implementation

Before you begin

Develop EJB implementation templates and bindings from a Web Services Description (WSDL) file.

Why and when to perform this task

To complete the EJB implementation:

Steps for this task

  1. Inspect the enterprise EJB remote interface template, portType_RI.java.
    If necessary, modify the template. portType is the name of the <wsdl:portType> element in the WSDL file.
  2. Inspect the EJB home interface template, portTypeHome.java.
    If necessary, modify the template.
  3. Edit the EJB implementation template, bindingImpl.java.
    binding is the name of the <wsdl:binding> element in the WSDL file.
    1. Complete the implementation of the methods in the template.
    2. (Optional) Make changes if necessary.
    3. (Optional) Change the class name if the binding name is not acceptable.
  4. Compile all the Java classes.
  5. Assemble an EJB Java archive (JAR) file.
    Assemble all the Java classes into an EJB JAR file using the typical EJB assembly tools. Include all of the classes generated from running the WSDL2Java command tool when developing implementation templates and bindings from a WSDL file.

Results

An EJB JAR file containing an EJB and supporting classes created from a WSDL file.

What to do next

Configure the webservices.xml deployment descriptor .

Related tasks
Developing a new Web service from an existing WSDL file using a stateless session enterprise bean
Developing EJB implementation templates and bindings from a WSDL file
Configuring the webservices.xml deployment descriptor
Assembling Web services-enabled EJB JAR file when starting from WSDL



Searchable topic ID:   twbs_EJBimp
Last updated: Jun 21, 2007 4:12:58 PM CDT    WebSphere Application Server Express, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/twbs_EJBimp.html

Library | Support | Terms of Use | Feedback