Generate stubs, skeletons, and implementation templates

Once you have created the package, component, and methods, you can generate the stub and skeleton files for the component. The client executable uses the stubs to invoke the server-side component methods. The server uses the skeleton to invoke your component implementation class.

StepsGenerating the stubs and skeletons

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

  2. Select File | Generate Stubs/Skeletons.

  3. Deselect Generate Java Stubs.

  4. Select Generate Stubs, then check C++ Stubs. Leave the C/C++ Code Base field at the default setting, which should be the full path to your EAServer include subdirectory.

  5. Click Next to display the skeleton generation options, and select Generate Skeletons.

  6. Under Skeletons, select Generate Skeletons on Client and leave the C/C++ Code Base field at the default setting, which should be the full path to your EAServer cpplib subdirectory.

  7. Click Finish.