A naming service lets you associate a logical name with an object, such as a package and component. Naming helps EJB Server applications easily locate an object anywhere on a network, then implement the referenced object.
The naming service “binds” a name to an object. The combination of bound name and its referenced object is the name context. The referenced object in a name context can be a component within a package or even an existing name context, the same way a named directory can contain a file or other named directory.
The collection of name context information—each object and its bound name—comprises the namespace. When client applications reference an object, they look to the namespace to cross-reference or resolve the name with the referenced object.