uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

8.4.2 Acquiring Stubs

Acquire the stub that corresponds to the J2EE server (JNDI name) to which the HCSC server is deployed. The stub acquisition method is described blow.

  1. From the Eclipse menu, choose HCSC-Definer, and then Published Services List.
    HCSC components are listed in Published Services List in the tree view.
  2. From the HCSC component list, select and double-click the service component (HCSC component) to be invoked.
    The information about the HCSC component is displayed in the HCSC Component Information Display screen. For details about this screen, see the manual Cosminexus Service Platform Overview.
    The information about the HCSC server that becomes the service component request destination is displayed in Server information.
  3. Click Stub acquisition.
    A dialog box for saving a stub file opens.
    Specify the file saving destination and acquire the stub.

The configuration of the acquired stub is shown below.

 
/current-directory
 -cscmsg_ejb_client.jar