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...

面试题 相关文章推荐
PHP高级工程师面试问题推荐
Jan 18 面试题
C/C++ 笔试、面试题目大汇总
Nov 21 面试题
XML文档面试题
Aug 05 面试题
extern是什么意思
Mar 10 面试题
一些Unix笔试题和面试题
Jan 22 面试题
linux面试题参考答案(11)
May 01 面试题
亿企通软件测试面试题
Apr 10 面试题
AURALog面试题软件测试方面
Oct 22 面试题
广州喜创信息技术有限公司JAVA软件工程师笔试题
Oct 17 面试题
几道Web/Ajax的面试题
Nov 05 面试题
若通过ObjectOutputStream向一个文件中多次以追加方式写入object,为什么用ObjectInputStream读取这些object时会产生StreamCorruptedException?
Oct 17 面试题
UNIX文件系统常用命令
May 25 面试题
怎样创建、运行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发送邮件类代码附详细说明
2008/07/10 PHP
在Windows下编译适用于PHP 5.2.12及5.2.13的eAccelerator.dll(附下载)
2010/05/04 PHP
PHP压缩html网页代码(清除空格,换行符,制表符,注释标记)
2012/04/02 PHP
PHP基于GD库的缩略图生成代码(支持jpg,gif,png格式)
2014/06/19 PHP
php使用标签替换的方式生成静态页面
2015/05/21 PHP
PHP微信分享开发详解
2017/01/14 PHP
PHP 配置后台登录以及模板引入
2017/01/24 PHP
响应鼠标变换表格背景或者颜色的代码
2009/03/30 Javascript
javaScript矢量图表库-gRaphael几行代码实现精美的条形图/饼图/点图/曲线图
2013/01/09 Javascript
Node.js开发之访问Redis数据库教程
2015/01/14 Javascript
JavaScript中textRange对象使用方法小结
2015/03/24 Javascript
浅谈angularJS中的事件
2016/07/12 Javascript
轻松5句话解决JavaScript的作用域
2016/07/15 Javascript
Vue.js组件tree实现无限级树形菜单
2016/12/02 Javascript
webpack入门必知必会
2017/01/16 Javascript
jquery.guide.js新版上线操作向导镂空提示jQuery插件(推荐)
2017/05/20 jQuery
js学习总结_轮播图之渐隐渐现版(实例讲解)
2017/07/17 Javascript
JS实现预加载视频音频/视频获取截图(返回canvas截图)
2017/10/09 Javascript
vue使用echarts图表的详细方法
2018/10/22 Javascript
基于vue.js实现分页查询功能
2018/12/29 Javascript
vue-cli3项目展示本地Markdown文件的方法
2019/06/07 Javascript
Python跳出循环语句continue与break的区别
2014/08/25 Python
详解Python程序与服务器连接的WSGI接口
2015/04/29 Python
浅谈DataFrame和SparkSql取值误区
2018/06/09 Python
Python实现的绘制三维双螺旋线图形功能示例
2018/06/23 Python
使用 Python 处理 JSON 格式的数据
2019/07/22 Python
用python解压分析jar包实例
2020/01/16 Python
多视角3D逼真HTML5水波动画
2016/03/03 HTML / CSS
美国著名首饰网站:BaubleBar
2016/08/29 全球购物
Lookfantastic葡萄牙官方网站:欧洲第一大化妆品零售商
2018/03/17 全球购物
戴尔荷兰官方网站:Dell荷兰
2020/10/04 全球购物
幼儿园运动会加油词
2014/02/14 职场文书
留学推荐信怎么写
2015/03/26 职场文书
Golang实现AES对称加密的过程详解
2021/05/20 Golang
Mysql中存储引擎的区别及比较
2021/06/04 MySQL
Mysql InnoDB 的内存逻辑架构
2022/05/06 MySQL