其他分享
首页 > 其他分享> > JTA和JTS

JTA和JTS

作者:互联网

在这里插入图片描述
JTA,即Java Transaction API,JTA允许应用程序执行分布式事务处理–在两个或多个网络计算机资源上访问并且更新数据。JDBC驱动程序的JTA支持极大地增强了数据访问能力。JTA事务比JDBC事务更强大。一个JTA事务可以有多个参与者,而一个JDBC事务则被限定在一个单一的数据库连接。下列任一个Java平台的组件都可以参与到一个JTA事务中:JDBC连接、JDO PersistenceManager 对象、JMS 队列、JMS 主题、企业JavaBeans(EJB)、一个用J2EE Connector Architecture 规范编译的资源分配器。JTS 只是一个组件事务监视器(有时也称为 对象事务

U2FsdGVkX18ir/UxBoDS94eSc8HS3LJlRqptg1ws3sHBp6bKLpfPJXtxhKQjq+p7
CUa/IxCAN3lPVYdzPDiwOhKPA7AkXan8KjMIpb6ZFwSOKeqPYh1NkoB7SR/0At+koX2hYi+1b6nTiJee1yx/r63aik2ZGtJE7pnEH+QStN4d+b7jZNoBI7aewHjtn0i+YDdNDiIpA/uoMXhUGaab5LsnKPCopoNHhOGzcCqvpkq4A2SjsPIQWLy383Oy7GN5PRfV6L1LTSzv5L4bm85O6ayCeZEqeXJSI685ktjL5dG/tJlzIxu+fCxZzRwVA5CShlmo9+n7ok5MfKSvvqRPHVsRkjQepcur8HKvo1Ny4iC+p+0QqD9ULpCsFLtWHtItYt2vLvo15E+36A0YoLRQuDy77GfTVaSTj95Tu5ZFJgRNifEGg0Vkg5tq6m1s9Jdz9BrgO0vkoZVFVmeENuOSfoqcvqK+4tq1H9BQg2455oH23UblryQCZh5e+j28lYMEAJD9CPBHiC4ddJXuGR4Dnvup1jyVMnGI5723ksPuzTumYXWA1cX2Wooxbh7agDbowKbQ12QQpPuZZczpVcCAb+H/chyoBF3cXe4MbERVRL1KXYAjpHHZ6FKoHfkBPlUr6I9Vzq6j7Uhelb+4NDdm/yo9jTMUMW4jAr52vg+fEX5EepldWtk/MzG249mXO+8RoAKMB4HLBzJCOSqNSxPC4AhhB8i4q9n8TNhIheG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12ZuZSCD/2V0+f4/gQNCswC5yLIiJ5GMV1gibL+sHYdwRiCVKH2KT1MFwvWXl0DvI3eJMTVmtBTYVRmbY5lmoPnGqH4uh1aP8Op4+W6eI9s3MAei6J9yxVP+IzJGfqMnJuLbnAcf3NT4qIUMjrpbfMzHHTq

监视器(object transaction monitor)),或称为 CTM。

标签:事务,JDBC,Java,JMS,JTS,JTA
来源: https://blog.csdn.net/xmh_sxh_1314/article/details/104662349