This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Database Transfers with xml between 2 servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Database Transfers with xml between 2 servers" Watch "Database Transfers with xml between 2 servers" New topic
Author

Database Transfers with xml between 2 servers

chiranjeevi bigboss
Greenhorn

Joined: Aug 31, 2001
Posts: 12
Hi all...
I want to know how data can be transfered between database servers of two different websites using xml. Can anyone provide me the java implementation of xml(source code if possible). It will be of great help for me if anyone can describe the step-by-step process. I need to write a batch process in java for this task which will be automatically running and transfers the data from one database to the other. Thanx in advance.

------------------
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi chiranjeevi,
If the 2 websites are using the same database engine, it's likely that the database vendor already provides tools to do this. That would be easier than having to write your own synchronisation system ;-)
By the way, what database engine(s) are you using?
Regards,
Beno�t
Fred Abbot
Ranch Hand

Joined: Jun 01, 2000
Posts: 300
Oracle
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Then I suggest you use Oracle XSU, which is intended for that purpose. It produces or processes XML files to update a database.
Cheers,
Beno�t
chiranjeevi bigboss
Greenhorn

Joined: Aug 31, 2001
Posts: 12
hi Beno�� d'Oncieu...
i am using oracle as the database can u plz., tell me how to get started with xsu and also plz., tell me can i write an AUTOMATED batch process for transfering of database along with data from one database server of one website to the database server of another website....i ll be grateful to u if can suggest r explain something abt this to me...
Thanx and regards,
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Database Transfers with xml between 2 servers