[jboss-dev-forums] [Design of EJB 3.0] - Re: Transaction behavior of clustered SFSB caching

bstansberry@jboss.com do-not-reply at jboss.com
Mon Aug 27 10:20:34 EDT 2007


Sacha,

Yep, that's the goal. There's really 2 levels to what you're talking about:

1) Batching all the SFSB replication from various beans accessed in the request into one replication event.  What I described above should handle that nicely, since all the beans are cached in the same JBC instance.  When the BTM tx is committed, they all replicate in one event.

2) Doing the web session replication with the SFSBs. Currently this won't work, because web sessions and SFSBs are stored in different JBC instances, and each cache will replicate separately.  I can use the same BatchModeTransactionManager for both services, so getting the batching control to properly span the entire request should be doable.  But I also need to get everything into one cache.  I *might* be able to do that with the current infrastructure, since both caches use largely the same configuration (pretty likely I can).  If not, this will need http://jira.jboss.com/jira/browse/JBCACHE-64 completed, which is a next year thing.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078362#4078362

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078362



More information about the jboss-dev-forums mailing list