Naming Service

The Naming Service is the most commonly used service in CORBA, since it provides the principle way for clients to find objects on the network. Remote object references can be bound to names within the Naming Service, and clients can access these object references over the network by asking for them by name from the Naming Service. There are more details on the Naming Service available in Chapter 4.

A NamingContext represents a directory or subdirectory of named objects. This interface can be used to bind, lookup, and unbind objects and subcontexts within the naming directory. The names of objects within a NamingContext are composed of NameComponent arrays. Browsing through the contents of a NamingContext can be done with a BindingIterator.

Get Java Enterprise in a Nutshell, Second Edition 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.