JNDI Naming Service
The big difference between a single instance JNDI naming service and the cluster-wide JNDI tree is that the latter also stores the names of services offered by clustered objects such as EJBs that are hosted on other servers in the cluster. The key to a cluster-wide JNDI naming service is the use of replica-aware stubs for objects. Replica-aware stubs help replicate an object's bindings across the cluster. Clients obtain a replica-aware stub for an object when they access that object. The replica-aware stub contains the list of servers that host implementations of the clustered object and the load-balancing logic for the object. Server instances in a cluster use a cluster-wide JNDI tree to enable clients to access objects ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access