This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 phase commit

Will Myers
Ranch Hand
Posts: 390
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was asked in an interview to explain how a 2 phase commit could be implemented in a distributed environment, while I know what the term means I'm unsure how it would work in practice. The example given was a database transaction and a JMS message that have to be committed together because the JMS message kicks off some other process that relies on the data being present in the database. Any ideas how you could implement this?
Jeanne Boyarsky
author & internet detective
Posts: 35055
Eclipse IDE Java VI Editor
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic