background image
Tech Note #40:  Initializing CORBA Applications
©
1998 Bionic Buffalo Corporation; All Rights Reserved.
          1 November 1998
http://www.tatanka.com
Page 
1 of 5
Bionic Buffalo Tech Note #40:
Initializing CORBA Applications
last revised Sunday 1 November 1998
©1998 Bionic Buffalo Corporation. All rights reserved.
Tatanka and TOAD are trademarks of Bionic Buffalo Corporation.
Introduction
This Tech Note describes how to initialize C-language CORBA applications.
The initialization process consists of the following steps:
1.
 
acquiring the CORBA Environment
2.
 
initialization of the ORB
3.
 
finding the initial services
4.
 
obtaining initial object references
5.
 
finding needed application objects
Each of these steps will be covered in more detail below. Except where noted, the CORBA
specification standardizes the procedure, and it should be portable to compliant
implementations.
In this document, the word Specification will refer collectively to the OMG documents which
define CORBA and standard CORBA services.
Acquiring the CORBA Environment
The CORBA Environment is a partially-opaque structure. The Environment is required as a
parameter to almost all CORBA procedures, including procedures, which are defined by an
object’s Interface Definition Language (IDL) description.
The Specification defines the CORBA Environment as:
 
typedef 
 
struct CORBA_Environment
 
{
 
CORBA_exception_type
 
_major;
 
...
 
}
 
CORBA_Environment;