Naming Service
Summary by Uma Jaipradeep
Implementation by Prasad Joshi
The information presented was gathered from Internet.
Summary Contents
- Naming Service Overview
- Naming Objects in the Distributed Object System
- Naming Contexts
- Object Names
- Binding an Object with a Name
- Resolving a Named Object
- Creating a New naming Context
- Listing the Contents of a Naming Context
- Unbinding an Object from a Naming Context
- Client-Server Naming Scenario
- Implementation of Naming Service
- Links
Naming Service Overview
A Naming Service is the main mechanism for objects on the ORB to locate
other objects by name. A name is a humanly recognizable value that identifies
an object. The Naming Service maps names to object references.
A name-to-object association is called a name binding. A naming context is a namespace in which the object name is unique. Every object has a unique reference ID.
You can optionally associate one or more names with an object reference. You always define a name relative to its naming context.
The Naming Service lets you create naming hierarchies so you can easily locate objects. Clients can navigate through different naming context trees in search of objects they want.
How you decide to implement a Naming Service depends on how you plan to use the service in conjunction with other services to locate objects. A Naming Service can be used as the backbone of an enterprise-wide filing system to construct large naming graphs where Naming Contexts model "directories" or "folders" and other names identify "document" or "file" kinds of objects. A Naming Service can also be used in a more limited role and have less sophisticated implementation, where naming contexts represent the types and locations of services that are available in the system.
You can implement a Naming Service to be application specific, or to be based on a variety of naming systems currently available on system platforms.
Summary Contents
- Naming Service Overview
- Naming Objects in the Distributed Object System
- Naming Contexts
- Object Names
- Binding an Object with a Name
- Resolving a Named Object
- Creating a New naming Context
- Listing the Contents of a Naming Context
- Unbinding an Object from a Naming Context
- Client-Server Naming Scenario
- Implementation of Naming Service
- Links