Spring JTA TransactionManager config: Supporting both Tomcat and JBoss

后端 未结 5 1085
广开言路
广开言路 2021-02-06 01:19

I have a web application using JPA and JTA with Spring. I would like to support both JBoss and Tomcat. When running on JBoss, I\'d like to use JBoss\' own TransactionManager, an

5条回答
  •  耶瑟儿~
    2021-02-06 01:48

    If you are using Spring 2.5 you can use . I have not used it with JBoss but it should work for you according to section 9.8 Application server-specific integration from the Spring reference manual.

提交回复
热议问题