Complete the Java bean or enterprise bean implementation

To complete the implementation of a Java bean or an enterprise bean, follow these steps:

  1. Inspect the enterprise JavaBean (EJB) remote interface template, portType_RI.java, where portType is the name of the <wsdl:portType> element in the WSDL file. If necessary, modify the template.

  2. Inspect the EJB home interface template, portTypeHome.java. If necessary, modify the template.

  3. Edit the EJB implementation template, bindingImpl.java, where 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 the Java classes.

  5. Assemble a Java archive (JAR) or Web archive (WAR) file.
    Assemble the Java classes into a JAR file or a WAR file. See Assemble your application for instructions on assembling applications. Include all of the classes that the WSDL2Java command generates.