JBoss.org Community Documentation

Chapter 16. Clustered Entity EJBs

16.1. Entity Bean in EJB 2.x
16.2. Entity Bean in EJB 3.0
16.2.1. Configure the distributed cache
16.2.2. Configure the entity beans for cache
16.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.