First you need to [install components that can use JTA, and the components you can use include Atomikos, jbossts, OPENEJB
In Atomikos, the Sybase database is used to illustrate:
(1). Atomikos Configuration Jta.properties, please refer to Atomikos's documentation for configuration
(2). Spring Configuration <tx:jta-transaction-manager/>
<tx:annotation-driven/>
Adding Atomikos-lifecycle-listener.jar,atomikos-tomcat-beanfactory.jar to the common.loader of Catalina.properties, Atomikos-transactions-3.7.0.jar, and other related jar files;
Join Jta.properties Path
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.