开发者

Can I use JTA over different EARs which are deployed to different servers?

开发者 https://www.devze.com 2023-01-21 21:07 出处:网络
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.

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 transac开发者_JAVA百科tion 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消