Write a thread to check database in web application 2007-11-05 - By Leon Rosenberg
Back <2 cents> servlet context sounds good. Start from ServletContextListener upon server start. </2 cents>
regards Leon
On 11/5/07, Ashish Kulkarni <ashish.kulkarni13@(protected)> wrote: > Hi > 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.. > > Any suggections > > Ashish >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|