Complete the Java bean or enterprise bean implementation

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

  1. Inspect the 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 home interface template, portTypeHome.java. If necessary, modify the template.

  3. Edit the 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 Web archive (WAR) file. See Assemble your application for instructions on assembling applications. Include all of the classes that the WSDL2Java command generates.