Write a thread to check database in web application 2007-11-05 - By Ashish Kulkarni
I have to write a thread in web application which will check some values in
database, and then perform some function depending on the values.
There wont be any user input and this thread should be called after like 10
minutes, also i want to have a jsp page from where i can maintain this
thread, like stop, change the time it should run etc.
Are there any specific J2EE api i can use, or should i just use a time
thread, and store the handle to this thread in servlet context so i can
access and modify it..