anonymous wrote : 
  | The TM should only be used if either:
  | 
  | 1. You have a need for JTA transactions in your application and you need 
the cache to participate in these transactions.
  | 2. You are using OPTIMISTIC locking.
  | 
  | If either of the above are true, you should use a TM.
  | 
  | There is a third argument to use a TM, and this is to batch up 
modifications. E.g., multiple calls to cache.put() will result in multiple 
replication events but if you wrap these in a transaction, then replication 
occurs when the transaction commits, as a single message, which could be more 
efficient.
  | 
  | Isolation level applies to in-memory locking as well so it is relevant even 
if you are not using a TM. 
  | 

Thanks for that Manik.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163591
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to