File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes database->feeds->database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "database->feeds->database" Watch "database->feeds->database" New topic


scott prichard

Joined: Apr 06, 2006
Posts: 10
Hey guys,

I have a question here. How could you possibly get feeds out of one database and input to other database. Why would you do that typically, I mean do anybody do this kind of things anywhere. Confusing right. I know. Okay let me keep it this way. If you have a front end application which feeds data to a database, which inturn feeds another database. So my question is why cant you feed two databases at the same time from the front end application. What is the advantage of doing it?

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33111

You can write to 2 databases from the front end. If you want a transaction, look into XA (distributed transactions.) If not, just write to the databases.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381

Are you talking about some sort of database replication service? If so it' best left to the native database tools. They will in all likelyhood be much faster and probably less bugs as well.
I agree. Here's the link:
subject: database->feeds->database
It's not a secret anymore!