By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,645 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,645 IT Pros & Developers. It's quick & easy.

method to check changes in database?

P: 1
Hallo !
is there in Java a clever method, which checks the changes in a database every 30 sec and after that it shows these changes?
thanks alot..
Laura
May 14 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 10K+
P: 11,448
Hallo !
is there in Java a clever method, which checks the changes in a database every 30 sec and after that it shows these changes?
thanks alot..
Laura
Think 'the other way around' when a database changes it should notify objects
that are interested in those changes. Read the API documentation for the
Observer/Observable interfaces/classes and when you feel confident with
the idea read all about the PropertyChangeSupport utility class.

kind regards,

Jos
May 14 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.