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 只是一个组件事务监视器(有时也称为 对象事务监视器(object transaction monitor)),或称为 CTM。

U2FsdGVkX193vc2643dopdy7aoHZ/fjRL/1rXPSKZ9h/1lk3L3c8Bs4vzyExFV2z
hZn3XYXGSzBIOSi2v3uoO26fF8pznQYsF2U1BXbRc+WTbhX2M8yRQdrxQ4vONkS0
WH5gGENORY1fz4zUmTh6/e7HbbJdXyHC3FtcDP2dmqYGY6FfZGgAIOlzsBKfHe3v
7m2n7KaZtPMdmxuszxK0N8m6ap/BAXrXN0TEoMWbBTEt2fj3CC4z8kZx2a3/1DKk
3P+Lq0OlhIZ+DNmLQ7TlkulF1fjlwgI/RqGyhWKLoZdVoTtLziV4IAHgEj4NUpbx
n5Y3GwjAyEhU64L91cPO1UJAQyaB4+YiDt8ZXbteWjREwBwi0N4mp2CO5/KA5+qJ
SvAs16LZLKNuEKHHPQfpSOubyC+ZN7PZOVPDYsatFb/pJgJkH6sf67/FogFk3Dau
+wNQ9s+dZ5wfkyhJbFhbnwny78yxjk6vGrijEvpkPOcSn6m8etHSdoqX6y5GPbiL
S8pneyliwwcwOKONU9d09G3ZaxPPWZeqvQ0rvIGwMtALbCBZCA7P0D+LxBwx3K8k
TJ6vwyPOeIVwvjT+RWPGNysi8BegBROxxAjqI1ofWOvLWD2O5g3AeI08w33IrV+k
pwZ4IkX7dvEcNTL0ekaOv5Piy48lXgewsRv7Yb1V7371n/dXdMvJ2qEgn8fdP3hF
xps4gbuHHJDI4/HHrExM8J4v3IN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47a
puqzFI8khP6aBnVhYQCGJTA5pv/wUw9oDh7ED31CNVLGMWgeoVDJFeWrkrYU2+yK
AnLh+gvfWpxoWW+XRdRwpZmq0JRnVcXUgvIFQVYLIyldFpBp5u0rVeD/71zsX161
OqWUcekeoGb0BcVjSuK+Rb/v4vKGgzmrh7R4QPKxm/5g6o4XOfT0+cp5LViLUZue
dsdPyyEXl2CRS1VU4hoRRylwh3KESmSHvu2AycDaas8SXPNPHpgjy1bFUgyCDC8r
B8mKOJPQu9sh5NetinIpdYmwgbP/tcwJSPNtXqtvSd0AJHN7tWopVOuxsrsCchZF
0VAERkrFAYyTfRRpd9xegRL+NeqWwA6PyERm28WuE362fcQFEFnB+flePLAhkWbo
04M0Qf7bqPkVANkYYI1q3wYOHeFS692S34I+39cPkPDfmOoTqNjCSihV6ZbLfz3f
8mEAcOQuakwJjw89IPKALfAEEG/qtkpiNX0Cz6JA4FeRqQLEajNPnPaIBVMpAGca
g3qwoCxSOARqLaJH2A8Gc4vXzmlVlf3gTHAS9iGObhp+dcXXSTbyNIKlpiHLsgRx
ceYGhEkK90RSknSj8dXLVnSu8bKDA4f1wx4YotKC58I3tDwRmwWVKPCcj31GLYv4
+d4MrGY6Vp5SsYyzNsjBBRQ+PT97V49i2HUglX/lzGEhIQilHyUvdoxyW+2cqUMA
MRD40VN5v/l8l4Efy8Fzzykwg2G0gVkGyXW8gVtCKH4UQj2zj43Nh3ZFM/G/UWAv
Vaps6kTnUkRLgoxYk3Nu0Ow1A2IVc+3WIk9g1vqj1NdWy+fnp6VQBtr10hO44a5D
zFHEO/hOROdbL74/DyZ7Mr+EZeUY6fkA3BMtBGhr1R/c9gOcj2DtyoRHCFIqjsFh

上一篇:SpringBoot-技术专区-application配置文件详解


下一篇:鼠标键盘处理