For an upcoming project, I will be updating multiple databases in a txn (2PC). My plan is to use JTA and WebSphere as the TM.
My questions are:
1. Is Spring a TM? Can Spring act as the TM ? If so, I do not need WebSphere and can achieve 2PC with just Spring+Tomcat. Somehow, I doubt Spring can do this. All vendors would be out of business otherwise.
2. If Spring is not a TM, why should I use it's transaction framework? Why should I use org.springframework.transaction.jta.JtaTransaction Manager when I could use JTA directly ?
Thanks in advance.


Reply With Quote