JTA和JTS

JTA和JTS_第1张图片

JTA,即Java Transaction API,JTA允许应用程序执行分布式事务处理–在两个或多个网络计算机资源上访问并且更新数据。JDBC驱动程序的JTA支持极大地增强了数据访问能力。

JTA事务比JDBC事务更强大。一个JTA事务可以有多个参与者,而一个JDBC事务则被限定在一个单一的数据库连接。下列任一个Java平台的组件都可以参与到一个JTA事务中:JDBC连接、JDO PersistenceManager 对象、JMS 队列、JMS 主题、企业JavaBeans(EJB)、一个用J2EE Connector Architecture 规范编译的资源分配器。

JTS 只是一个组件事务监视器(有时也称为 对象事务监视器(object transaction monitor)),或称为 CTM。

U2FsdGVkX180xgme1AP2iImWGO3yRD3AQEo7X9Wwt0ZAZ2YYQgBsLjIRjKEchomf
qJRIe29HJak+oslJshH08h2w8eOeZB3ISuQCyct0zcf+/XiMjHne9rbpX5UqsFdx
z+9miW7WLjLWfrkeZSl+4kOYYwEVvhovLPFSIY469scy3no2o/zk9cK9N25KHit1
ZI3Go5uyvtAegJWEAeP7uRQoK9AIolGM4wVuaQF2aaBsrExw+qtlCeFa66pdqGSx
Nn5wdkFGTgUJu3tHAEzIlURmy/Ao5HUuGj2gwpvuMrGpoCOEO2dHjyY4gFfK+2XA
5EFOU26HkOLwSLHXosSYbxqw5gphvrJI4qrAYDNAaPOw+gcjnBUSuzuZU70AYaMf
gJHXadqtIMjKkWTj3eNR+qC8D7V1tPz0Yl71pVWSOvaiob+P28gGip1aTfp1VnSX
0jNKz8p9Zmcu/7bD39/vMCHavjQnq2NQ1Uewh357dXO2CQnosbN0m3iscMgp2nSE
dEU06b4nppgbwZqioo+csmUCfBv6MHMC8K3Prv+q0T4QqHX2IMWFp7Fx6rVHZ8S1
oGRhgP5atS/+ezMBgxc52vJ/SrGb7WgRthyJak4zYbkxd2SCEQiaqZoHNiXqa2N+
3VR7ifZwpLd1nvCuGZJWZG4rIn2KH5N80Jf6AxpaLWpkX1pdSBik9Hy2Ie59jxbE
WrfEDx2uj/2QCp624QyBd/PggoOwKK0OwQx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