Help... Live application continously checking the database...

guys, help me...

This is my idea.... i want to develop an app that is continously checking on the database.

Using while loop is not recommended.

But what am I going to use?

I want something like timer that is continously checking on the database... And then do the process.... Then after sometime again check the database and do process again...

Please give out your comments and suggestions.

Thanks

[444 byte] By [Rexcela] at [2007-11-27 7:30:39]
# 1
You could use the Thread class, you can pause your applications with desired "Sleep Time"- nywled :D
Redxxiva at 2007-7-12 19:10:53 > top of Java-index,Java Essentials,Java Programming...
# 2
Hi can you guide me on how to do the thing? Thanks
Rexcela at 2007-7-12 19:10:53 > top of Java-index,Java Essentials,Java Programming...
# 3
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Timer.htmlor even http://en.wikipedia.org/wiki/Cron
quittea at 2007-7-12 19:10:53 > top of Java-index,Java Essentials,Java Programming...