The operations described in the following section are required in actual operation of the developed CORBA server applications.
The section explains the setup of the operating environment and registration of the server applications.
Registering a CORBA Server Application
Before you can execute a CORBA server application, it is necessary to register it in several types of repositories. For the registration procedure, refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)" and "5. Running the Program"
Interface repository
The interface repository is required if:
The client application uses the OLE-GATEWAY method.
The CORBA server object listing function is used during workbench-based CORBA client application development.
For registration in the interface repository, select the IDL file to be registered from the Dependency view, then select "Register to Interface repository" from the popup menu.
If "Register to Interface repository" of IDLc is specified as a build option, registration is performed automatically during the build.
Note
If the interface repository already has the interface to be registered, the existing interface is overwritten.
Implementation repository
Registration of the implementation repository is essential. It stores information necessary for server application execution. Perform registration by using the Interstage Management Console or the CORBA service command on the server.
Naming service name
A naming service name must be registered for each CORBA server application created with object-oriented COBOL. You can register it by using either of two methods. One method is to specify settings from the Interstage Management Console so that the name is automatically registered when a WorkUnit starts, and the other is to execute the CORBA service command for registration.