Distributed Systems Architecture: A Middleware Approach

This appendix gives an overview of how Mico implements the CORBA specification, the implementation components it consists of, and how those components are used. The focus of the appendix is on details not defined by the CORBA specification such as command line option syntax and semantics.
Components of a CORBA implementation The core of a CORBA implementation consists of the following logical components:
The Object Request Broker (ORB) provides for object location and method invocation.
The Interface Repository (IR) stores runtime type information.
One or more object adapters form the interface between object implementations and the ORB. Mico provides the Portable Object Adapter (POA). The implementation repository stores information about how to activate object implementations.
The IDL compiler generates client stubs, server skeletons, and marshalling code from a CORBA IDL according to the supported language mappings.
Each of these logical components has to be mapped to one or more implementation components, which are described in the next sections.
Mico library libmico
Every Mico application has to call the ORB initialization function ORB_init() before using Mico functionality:
1: int main (int argc, char *argv[]) 2: { 3: CORBA::ORB_var orb = CORBA::ORB_init (argc, argv); 4: ... 5: } Command line arguments understood by...