Resolving EAServer objects

EAServer uses the resolve method to retrieve an object based on the name context into which it is bound. The name context used to retrieve an object must be identical to the object’s bound name context. The naming service performs the “narrowing” of the object to the appropriate return type. In other words, the client does not need to cast the returned object to a more specialized interface.

There are two ways for Java clients to access the naming service to resolve object names: