Generate stubs and skeletons

Use EAServer Manager to generate stubs and skeletons for the new components. The skeleton contains generated code to manage the interaction between EAServer and the implementation. The stubs are required by clients to execute the component.

StepsGenerating stubs and skeletons

  1. Click on the Tutorial package and select the Glossary component.

  2. Select File | Generate Stub/Skeleton.

  3. Deselect Generate Stubs.

  4. Click Next to display the skeleton generation options and configure them as follows:

    1. Select Generate Skeletons.

    2. Select Generate Skeletons on Server.

    3. Select Compile Java Skeletons.

  5. Click Next to display the advanced options and configure them as follows:

    1. For Java Version, select JDK 1.2 and Above.

    2. For Generation Strategy, choose Full.

  6. Click Finish.

  7. Repeat these steps to generate stubs and skeletons for the Query component.

NoteExplicit stub generation is not required When generating skeletons, EAServer Manager generates stubs under the skeleton code base, java/classes. We will use these stubs to run our client.