java - Does spring requires JTA TX manager when deployed in Tomcat -


i have web application, deployed in tomcat. app depends on 1 spring pojo app jar, whcih available in classpath.

spring pojo app, contains dao's , few services, i'm accessing these dao's , services in web app beans, loading spring context using classpathxmlapplicationcontext.

the serivces in spring app uses daos , in case both apps accessing same db. spring pojo app uses hibernatetransactionmanager.

for scenario, hibernatetxmanager good, or need gor jta?

jta useful when want enlist 2 or more datasources in sam global transaction.

in case should have services use daos , web beans use services, spring application design decision.

for connection pooling, advice take on hikaricp, fastest 1 on market.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -