Hi!,
I am implementing a read-mostly pattern as described in the JBoss clustering doc that has a clustered entity bean w/ Commit option C (e.g., Instance Per Transaction CMP 2.x EntityBean) and the another entity-bean on the same table deployed as ReadOnly.
I made the two changes to the Instance Per Transaction CMP 2.x EntityBean container config as described in the docs:
<interceptor> org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor </interceptor>
<instance-cache> org.jboss.ejb.plugins.InvalidableEntityInstanceCache </instance-cache>
... <cache-policy> org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy </cache-policy> ...