• Post Reply Bookmark Topic Watch Topic
  • New Topic

Distributed transactions in CMP beans

 
Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

If any of you guys have any knowledge on distributed transations in CMP Entity beans. The requirement is I have two Databases who are replica of each other and what I want is suppose a user enters something from a screen which enters records in one of the DB then the same should be copied to the other DB i mean the same table in the other DB should have a replicated data as the first one. and I am using CMP entity beans for insertion of Data.

Any of you guys if have any info just update me.

Thanks,
Rahul Juneja
rahulj2k3@yahoo.com
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35709
408
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rahul,
You should consider buying database replication software for this. That way all database changes will be replicated, not just the ones from your code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!