MICO: An Open Source CORBA Implementation

Chapter 7: Naming Service

MICO is shipped with a CORBA-compliant naming service, which is described in this chapter. MICO's naming service was implemented by Kai-Uwe Sattler (email: ) from the University of Magdeburg, Germany. Although the implementation is placed under the GNU General Public License, Sattler retains the copyright for it. We first give an overview of the naming service and then present a complete example of how to use it.

7.1 Overview

In a distributed environment, you need to address the problem of propagating references from server objects to clients. Throughout this book, we have given different solutions to this problem. The only portable and CORBA-compliant solution is to pass a stringified object reference, as described in Section 3.3.3. Note that the bind mechanism introduced in Section 3.3.3 is MICO specific and therefore not CORBA compliant.

The CORBA standard as issued by the OMG describes a naming service as part of the Common Object Services Specification (COSS). In order to understand this standard, we need to introduce a bit of terminology. As already pointed out in Section 3.3.3, a naming service maps names to addresses. This mapping is called a binding in CORBA. The addresses actually are object references or, to be more specific, instances of the IDL type Object.

A name always exists relative to a naming context. A naming context is itself an object that can be assigned a name. This way a hierarchical namespace can be constructed. In a mathematical sense, all bindings in a CORBA environment...

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.