Generating EJB stubs

Stub classes act as proxies for an instance of the EJB component. You can generate EJB stubs for components that are implemented in any of the EJB Server supported component models.

StepsTo generate Java source files for stub classes:

  1. Highlight a component to generate stubs for all interfaces and types required by a component.

  2. Select File | Generate Stubs/Skeletons. The Generate Stubs & Skeletons dialog box displays.

  3. Select the Generate Stubs option and the Generate Java Stubs option. Enter values in the Stubs fields as follows:

  4. Click OK.