Java 的轻量级进程内分布式事务管理器?
我正在尝试扩展 Clojure,以允许用户选择要持久保存的数据存储实例,从而增加引用的持久性。这就需要分布式事务。是否有任何真正轻量级的、进程内的分布式事务管理器,支持 XA,适用于 Java?如果没有,并且我必须自己推出,是否有任何好的资源来解释分布式事务协调器必须支持什么?具体来说,我很难理解 XID 的 3 个部分的语义到底是什么。作为初始实现,我使用 BDB JE。
I'm trying to extend Clojure to add durability to refs in a way that allows users to choose which data store instances to persist to. That requires distributed transactions. Are there any really lightweight, in-process distributed transaction managers, supporting XA, for Java? If not, and I have to roll my own, are there any good resources explaining what a distributed transaction coordinator has to support? Specifically, I'm having trouble understanding what the semantics of the 3 parts of an XID are really supposed to be. As an initial implementation, I'm using BDB JE.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我知道这两个:
Bitronix:这是我们当前正在使用的,它似乎工作正常,并且很容易配置。
Atomikos:我们已经尝试过这个,但配置起来比 Bitronix 难一点,并且它对 java.util.logging 有一些我们不想要的硬编码依赖项。它应该比 Bitronix 功能更完整,因为它是商业支持产品的开源版本。
I know these two:
Bitronix: This is the one we are using currently, it seems to work OK and it is easy to configure.
Atomikos: We have tried this, but it is a little harder to configure than Bitronix, and it has some hardcoded dependencies to java.util.logging which we did not want. It should more feature-complete than Bitronix as it is an open source version of a commercially supported product.
http://www.atomikos.com 应该做你正在寻找的事情......
http://www.atomikos.com should do what you are looking for...