As shown in this chapter, the distributed architecture of J2EE requires a naming service for clients to be able to look up the remote object. In fact, all middleware implementations , including RMI, CORBA, and EJB, rely on a naming service or registry. The WebLogic Server Cluster has even stronger needs for a naming service to support replication and failover in a clustered environment. JNDI provides a simple API that enables the client to retrieve the remote object by simply looking up a name . |