我可以在部署到不同服务器的不同EAR上使用JTA吗? [英] Can I use JTA over different EARs which are deployed to different servers?
本文介绍了我可以在部署到不同服务器的不同EAR上使用JTA吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在研究JTA,因为我需要分布式事务(跨JPA,JMS和EHCache)。
我想了解JTA是否可以提供额外的功能我正在考虑。
如果我有3台不同的服务器,每台运行Glassfish,每台服务器都有不同的EAR(我的另一个模块)。
我可以有一个事务这将跨越不同的服务器和不同的EAR?
谢谢,
Ittai
我可以有跨越不同服务器和不同EAR的交易吗?
是的。全局事务可以合并来自多个EAR的多个资源。
I'm looking into JTA as I need distributed transactions (across JPA, JMS and EHCache).
I'm trying to understand whether JTA can supply an additional functionality which I'm considering.
If I have 3 different servers, each running Glassfish and each server has a different EAR (a different module of mine).
Can I have a transaction which will span across different servers and different EARs?
Thanks,
Ittai
解决方案
Can I have a transaction which will span across different servers and different EARs?
Yes. A global transaction can combine multiple resources from multiple EARs.
这篇关于我可以在部署到不同服务器的不同EAR上使用JTA吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文