JNDI and Clustering

To achieve better scalability and high availability, J2EE services, including EJB servers and naming services, can be clustered. Clustering is when a set of identical services or components is started so that the system can be more fault-tolerant and also balance the load across the redundant services. We will only briefly mention clustering of JNDI services in this section.

→ For more of a general discussion on clustering concepts and EJB, see Chapter 22, “EJB Clustering Concepts.”

Because JNDI can also be considered a limited resource and is a point of failure for an enterprise application, the JNDI service can also be clustered.

Clustering is very dependent on the vendor implementation. Each EJB server might have different ...

Get Special Edition Using Enterprise JavaBeans™ 2.0 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.