title: How do I synchronize two Oracle Databases?
body: <p>I want to create a project in which it is required to synchronize local database with remote database. Changes made in local database must be reflected to remote database. This must be done synchronously. I have application which does CRUD operations on local database written in java/jpa. Synchronization should be triggered from java code. 
  I thought of triggers on each table of database which will maintain changes in local database. But I doubt its secure or not.
  After googling I found out that oracle lite database is best for synchronizing two databases, but I need to get started quickly. 
  Operating system I am using is Windows Xp. Database size is around 2gb. </p>
  
  <p>I did created thread for achieving same thing in java but from suggetion I restarted same thread in the database context.      </p>