Chapter 4. Clustered Entity EJBs

Chapter 4. Clustered Entity EJBs

4.1. Entity Bean in EJB 2.x
4.2. Entity Bean in EJB 3.0
4.2.1. Configure the distributed cache
4.2.2. Configure the entity beans for cache
4.2.3. Query result caching

In a JBoss AS cluster, the entity bean instance caches need to be kept in sync across all nodes. If an entity bean provides remote services, the service methods need to be load balanced as well.

To use a clustered entity bean, the application does not need to do anything special, except for looking up EJB 2.x remote bean references from the clustered HA-JNDI.