how to set file watcher

I want to know how to set file watcher for my sql database using java.

my doubt is i am running an web application in a web server.

the user information are stored one databse.

i want that user details in other databases.

it will do automatically.

when ever new values are stored one database then automatically that value transfered in other data base.

i want urgent.

please help me

thanks

[445 byte] By [kathir226a] at [2007-10-2 8:41:39]
# 1
It seems like the most natural way to do that would be with database triggers, if your DB allows its triggers to interact with the world outside the DB--e.g. invoking Java code, invoking some other process, opening a socket, etc.
jverda at 2007-7-16 22:43:45 > top of Java-index,Java Essentials,Java Programming...
# 2
there is a reason why database replication products are very expensive.
dmbdmba at 2007-7-16 22:43:45 > top of Java-index,Java Essentials,Java Programming...