using cmt for your ejbs could sovle the problem.
解决方案 »
- tomcat下运行struts2的项目报的错,求大虾帮助!
- hibernate执行普通sql问题
- [Struts1.x]在ActionForm中使用JavaBean的话,怎么用Validator框架验证?
- 空间和域名
- MBEAN ObjectName中有引号, adminClient.queryNames() 无法定位
- Spring Hibernate 缓存处理的问题
- 求教:一个简单的关于struts配置问题
- 小弟刚学JAVA,那有群可以加啊
- 学了一晚,遇到几个问题,请大侠帮助解决!
- map<String,String> 进行排序啊。
- 有做过机关和事业单位工资系统的吗?
- 请问高手一个问题!!!!!!!!!!!
全局事务也只是跨数据库服务器(JTA)
不同的应用服务器不是同一个事务。可以根据调用结果判断,如果失败的话就回滚。
you are saying bmt.What I am saying is cmt. When any transaction is rollbacked or ed as rollback, the container would throw a TransactionRolledbackException or TransactionRolledbackLocalException to the client depending on the interface, if the client is also an ejb in CMT, that transaction would be rolled back by the container also.hope this helps.
JTA事务管理交给EJB容器管理