MICO: An Open Source CORBA Implementation

Chapter 4: Implementation Overview

This chapter gives an overview of how MICO implements the CORBAspecification, the implementation components it consists of,and how those components are used.

A CORBA implementation consists of the following logicalcomponents:

  • The Object Request Broker (ORB) provides for object locationand method invocation.
  • The Interface Repository (IR) stores runtime type information.
  • One or more object adapters form the interface between objectimplementations and the ORB. MICO provides the BasicObject Adapter (BOA) and Portable Object Adapter (POA).The implementation repository stores information about howto activate object implementations.
  • The IDL compiler generates client stubs, server skeletons,and marshalling code from a CORBA IDL according to thesupported language mappings.
Each of these logical components has to be mapped to one or moreimplementation components, which are described in the next sections.

4.1 ORB

The ORB is implemented as a library ( libmico. a) that is linked into each MICO application.

4.1.1 ORB initialization

Note

Command line arguments understood by MICO applications

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 =4:             CORBA::ORB_init (argc, argv, "mico-local-orb");5:      ...6:  }
That way the ORB has access to the application's command linearguments. After evaluating them, the ORB removes the commandline options it understands so the application does not have tobother with them. You can also put...

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.