[jboss-user] [JBoss Cache: Core Edition] - Re: Problem using Non-JTA Transaction Manager
do-not-reply at jboss.com
Tue Jun 3 19:19:04 EDT 2008
We looked at that page, and unfortunately we still have some questions. Specifically:
* Is the setup in our first post viable - can we do pessimistic locking reliably with a Spring non-JTA transaction manager and Tomcat?
* If we do pessimistic locking, what is the recommended configuration?
The recommended cache options are all based around optimistic locking. We realize that optimistic locking is the recommended option, and that all the documentation suggests it, but optimistic locking requires a JTA Transaction Manager - which we don't use, because we can't find a good JTA TM for Tomcat. The wiki page tells us nothing about pessimistic locking except that it does not provide as much concurrency as optimistic locking.
Also, if pessimistic locking and a non-JTA transaction manager is NOT a viable option, what is your suggestion for what to move to as a JTA Transaction Manager? We imagine we would need to move to the JBoss Application Server instead of Tomcat as well, unless we find a good JTA TM for Tomcat - which is certainly something we're willing to consider, but given the timeframe we're on, we'd love to be able to get things up and running with our current setup and put that off for a bit if we can.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155516#4155516
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155516
More information about the jboss-user