Federated Naming Service

The naming service supports federation; that is, distinct naming servers can be linked together to create a single naming graph. A client can then navigate seamlessly throughout the naming graph without being aware that it is federated.

The key to federation support is the operation bind_context(), declared in the following IDL fragment:

//IDL
#pragma prefix "omg.org"

module CosNaming {
     ...
     interface NamingContext {
          ...
          void bind_context(in Name n, in NamingContext nc)
               raises(NotFound, CannotProceed, InvalidName, AlreadyBound);
          ...
     };
     ...
};

The bind_context() operation binds a given naming context nc to a name n, enabling arbitrary crosslinks to be created. It is conceptually similar to creating a symbolic link with ...

Get Pure CORBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.