• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Three Phase-Commit protocol

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Three Phase-Commit is a non-blocking protocol.
EJB supporting Three Phase Commit Protocol ?
JDBC supporting Three Phase Commit Protocol ?
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The recommends support for two-phase commit, but it is not required. However, all major J2EE Servers do support two-phase commit.
Three-phase commit is not mentioned in the J2EE Specification, nor do any Application Servers that I know of support it.
BTW, just because three is greater two does not necessarily make 3PC better than 2PC. Sure, 3PC is non-blocking but at the cost of greater overhead. The 3PC protocol involves an additional round of message transmission to achieve non-blocking property. If 3PC is employed to eliminate the blocking problem, an extra round of message transmission further reduces the system's performance as compared to 2PC... and 2PC is slow enough for me.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic