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


Posted in 面试题 onDecember 07, 2012
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.

Tags in this post...

面试题 相关文章推荐
介绍一下Cookie和Session及他们之间的区别
Nov 20 面试题
说说你所熟悉或听说过的j2ee中的几种常用模式?及对设计模式的一些看法
May 24 面试题
Java的基础面试题附答案
Jan 10 面试题
在C语言中实现抽象数据类型什么方法最好
Jun 26 面试题
怎样从/向数据文件读/写结构
Nov 23 面试题
使用索引有什么好处
Jul 27 面试题
Ado与Ado.net的相同与不同
Dec 08 面试题
.NET remoting的两种通道是什么
May 31 面试题
Linux开机引导的步骤是什么
Feb 26 面试题
重写子类方法时,抛出异常的书写注意事项
Oct 17 面试题
final, finally, finalize的区别
Mar 01 面试题
UNIX文件类型
Aug 29 面试题
怎样创建、运行java程序
Aug 01 #面试题
JMS中Topic和Queue有什么区别
May 15 #面试题
JAVA中的关键字有什么特点
Mar 07 #面试题
如何设置Java的运行环境
Apr 05 #面试题
是什么让J2EE适合用来开发多层的分布式的应用
Jan 16 #面试题
JDK安装目录下有哪些内容
Aug 25 #面试题
如何让Java程序执行效率更高
Jun 25 #面试题
You might like
PHP json_encode中文乱码问题的解决办法
2013/09/09 PHP
如何在HTML 中嵌入 PHP 代码
2015/05/13 PHP
php实现给一张图片加上水印效果
2016/01/02 PHP
PHP中的表达式简述
2016/05/29 PHP
iOS10推送通知开发教程
2016/09/19 PHP
php实现替换手机号中间数字为*号及隐藏IP最后几位的方法
2016/11/16 PHP
php单元测试phpunit入门实例教程
2017/11/17 PHP
Laravel5.1 框架路由基础详解
2020/01/04 PHP
js 字符串转化成数字的代码
2011/06/29 Javascript
JS.GetAllChild(element,deep,condition)使用介绍
2013/09/21 Javascript
javascript将数字转换整数金额大写的方法
2015/01/27 Javascript
jQuery实现首页顶部可伸缩广告特效代码
2015/04/15 Javascript
jQuery插件slides实现无缝轮播图特效
2015/04/17 Javascript
js实现淡入淡出轮播切换功能
2017/01/13 Javascript
详解vue+css3做交互特效的方法
2017/11/20 Javascript
微信小程序如何获取openid及用户信息
2018/01/26 Javascript
详解vue静态资源打包中的坑与解决方案
2018/02/05 Javascript
Vue2.0中集成UEditor富文本编辑器的方法
2018/03/03 Javascript
从零开始实现Vue简单的Toast插件
2018/12/03 Javascript
[04:52]DOTA2亚洲邀请赛附加赛 TOP10精彩集锦
2015/01/29 DOTA
[01:07]DOTA2次级职业联赛 - Fpb战队宣传片
2014/12/01 DOTA
浅谈python字典多键值及重复键值的使用
2016/11/04 Python
Python3操作SQL Server数据库(实例讲解)
2017/10/21 Python
python和shell监控linux服务器的详细代码
2018/06/22 Python
Python使用requests提交HTTP表单的方法
2018/12/26 Python
python爬虫简单的添加代理进行访问的实现代码
2019/04/04 Python
django中的图片验证码功能
2019/09/18 Python
工作室成员个人发展规划范文
2014/01/24 职场文书
公司市场专员岗位职责
2014/06/29 职场文书
党的群众路线教育实践活动领导班子整改方案
2014/10/25 职场文书
违反工作规定检讨书范文
2014/12/14 职场文书
2015秋季幼儿园开学寄语
2015/03/25 职场文书
前台接待岗位职责范本
2015/04/03 职场文书
2016廉政教育学习心得体会
2016/01/25 职场文书
Python jiaba库的使用详解
2021/11/23 Python
安装Windows Server 2012 R2企业版操作系统并设置好相关参数
2022/04/29 Servers