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

