Replication is controlled by an interceptor added to the bean container. The replication
happens when the invocation on the bean returns through the interceptor. The entire bean
state is replicated. You can gain some control by adding a method
public boolean isModified()
to your bean. If there, the interceptor will check it and won't replicate if it
returns false.
For EJB3, to get that optimization, besides adding the method you have to make your bean
implement interface org.jboss.ejb3.cache.Optimized (which simply declares the isModified()
method.)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104177#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...