JBoss.org Community Documentation

Chapter 16. Clustered Session EJBs

16.1. Stateless Session Bean in EJB 2.x
16.2. Stateful Session Bean in EJB 2.x
16.2.1. The EJB application configuration
16.2.2. Optimize state replication
16.2.3. The HASessionState service configuration
16.2.4. Handling Cluster Restart
16.2.5. JNDI Lookup Process
16.2.6. SingleRetryInterceptor
16.3. Stateless Session Bean in EJB 3.0
16.4. Stateful Session Beans in EJB 3.0

Session EJBs provide remote invocation services. They are clustered based on the client-side interceptor architecture. The client application for a clustered session bean is exactly the same as the client for the non-clustered version of the session bean, except for a minor change to the java.naming.provier.url system property to enable HA-JNDI lookup (see previous section). No code change or re-compilation is needed on the client side. Now, let's check out how to configure clustered session beans in EJB 2.x and EJB 3.0 server applications respectively.