Distributed Systems Architecture: A Middleware Approach

Appendix B: Mico Implementation Overview

Overview

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.

B.1 ORB

Mico library libmico.a The ORB is implemented as a library ( libmico.a) that is linked into each Mico application. has to be substituted with the version of Mico installed on the system.

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...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Middleware
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.