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

面试题 相关文章推荐
int *p=NULL和*p= NULL有什么区别
Oct 23 面试题
Android面试宝典
Aug 06 面试题
Oracle里面常用的数据字典有哪些
Feb 14 面试题
存储过程和sql语句的优缺点
Jul 02 面试题
delegate与普通函数的区别
Jan 22 面试题
linux面试题参考答案(1)
Jan 22 面试题
进程的查看和调度分别使用什么命令
Mar 25 面试题
介绍一下except的用法和作用
Jan 22 面试题
现在输入n个数字,以逗号,分开;然后可选择升或者降序排序;按提交键就在另一页面显示按什么排序,结果为,提供reset
Nov 09 面试题
UNIX操作系统结构由哪几部分组成
Feb 17 面试题
Servlet方面面试题
Sep 28 面试题
为什么说Ruby是一种真正的面向对象程序设计语言
Oct 30 面试题
怎样创建、运行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的FTP学习(三)
2006/10/09 PHP
FireFox浏览器使用Javascript上传大文件
2013/10/30 PHP
php实现在线生成条形码示例分享(条形码生成器)
2013/12/30 PHP
对于ThinkPHP框架早期版本的一个SQL注入漏洞详细分析
2014/07/04 PHP
合并ThinkPHP配置文件以消除代码冗余的实现方法
2014/07/22 PHP
PHP反射学习入门示例
2019/06/14 PHP
JS 统计时间
2021/03/09 Javascript
js中parseFloat(参数1,参数2)定义和用法及注意事项
2013/01/27 Javascript
解析javascript系统错误:-1072896658的解决办法
2013/07/08 Javascript
js实现发送验证码后的倒计时功能
2015/05/28 Javascript
Jquery插件之Fancybox丰富的弹出层效果附源码下载
2015/12/02 Javascript
Javascript自定义事件详解
2017/01/13 Javascript
CSS3+JavaScript实现翻页幻灯片效果
2017/06/28 Javascript
JS和jQuery通过this获取html标签中的属性值(实例代码)
2017/09/11 jQuery
vue单文件组件lint error自动fix与styleLint报错自动fix详解
2019/01/08 Javascript
实例讲解JS中pop使用方法
2019/01/27 Javascript
小程序组件之自定义顶部导航实例
2019/06/12 Javascript
JS内置对象和Math对象知识点详解
2020/04/03 Javascript
简单了解JavaScript arguement原理及作用
2020/05/28 Javascript
深入分析jQuery.one() 函数
2020/06/03 jQuery
python脚本设置系统时间的两种方法
2016/02/21 Python
Python Image模块基本图像处理操作小结
2019/04/13 Python
Python Django基础二之URL路由系统
2019/07/18 Python
Python Request类源码实现方法及原理解析
2020/08/17 Python
python中numpy数组与list相互转换实例方法
2021/01/29 Python
肯尼迪就职演说稿
2013/12/31 职场文书
食品安全标语
2014/06/07 职场文书
山东省召开党的群众路线教育实践活动总结大会新闻稿
2014/10/21 职场文书
装饰施工员岗位职责
2015/04/11 职场文书
2016年万圣节家长开放日活动总结
2016/04/05 职场文书
2019 入党申请书范文
2019/07/10 职场文书
浅谈CSS不规则边框的生成方案
2021/05/25 HTML / CSS
idea编译器vue缩进报错问题场景分析
2021/07/04 Vue.js
优化Mysql查询的示例
2022/04/26 MySQL
MYSQL如何查看操作日志详解
2022/05/30 MySQL
MySQL数据库实验之 触发器和存储过程
2022/06/21 MySQL