JBoss.org Community Documentation

Chapter 19. Clustered Entity EJBs

19.1. Entity Bean in EJB 2.x
19.2. Entity Bean in EJB 3.0
19.2.1. Configure the distributed cache
19.2.2. Configure the entity beans for cache
19.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.