<2 cents> servlet context sounds good. Start from ServletContextListener upon server start. </2 cents>
regards Leon On 11/5/07, Ashish Kulkarni <[EMAIL 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]