Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在尝试在 Java/Jboss/Apache 环境中实现两阶段提交。
但是我们很难理解如何测试它是否真的有效?有什么 gui 工具可以帮助我们测试它吗?
谢谢
我可以想到几个场景
事务应该回滚。
I'd consider adding some hooks to your application to force a failure at each stage one by one; so you can check the expected outcome.
Or use unit testing if thats easier.