java面试题

当前位置: 面试问题网 > java面试题 > Java TransactionAPI (JTA) 主要包含几部分

Java TransactionAPI (JTA) 主要包含几部分

JTA主要包含三部分, UserTransaction, Transaction Manager, XAResource
  
   UserTransaction: The javax.transaction.UserTransaction API allows the application to control the transaction boundaries programmatically. In simple words, this high level API allows to mark the beginning and the end of a global (distributed) transaction.
   Transaction Manager: The javax.transaction.TransactionManager API is designed as interface for the application server. The application server is able to specify transaction boundaries in charge of the managed application with this high level API.
   XAResource: The javax.transaction.xa.XAResource API is a Java implementation of the industry standard XA Interface based on the X/Open CAE specification. This is the low level API between transaction manager and the database. This interface will allow you to speak 2PC with directly the different databases involved in a distributed transaction.

【Java TransactionAPI (JTA) 主要包含几部分】相关文章

1. Java TransactionAPI (JTA) 主要包含几部分

2. 若通过ObjectOutputStream向一个文件中多次以追加方式写入object,为什么用ObjectInputStream读取这些object时会产生StreamCorruptedExcepti

3. How to detect and cleanup pending transactions in Oracle

4. 良好的职业道德主要包含哪些方面

5. Ajax主要包含了哪些技术

6. const char*, char const*, char*const的区别是什么

7. 有abstract方法的类一定要用abstract修饰吗

8. Can a struct inherit from another struct? (结构体能继承结构体吗)

9. 声明struct x1 { . . . }; 和typedef struct { . . . }x2;有什么不同

10. String s = new String(“xyz”);创建了几个String Object?

本文来源:https://www.mianshiwenti.com/a12248.html

点击展开全部

《Java TransactionAPI (JTA) 主要包含几部分》

将本文的Word文档下载到电脑,方便收藏和打印

推荐程度:

进入下载页面

﹝Java TransactionAPI (JTA) 主要包含几部分﹞相关内容

其它栏目

也许您还喜欢