I need to do a task (for example send email every 2 hours) from a servlet, is there anything that was done like this .
I read somewhere that I have to have a thread inside the init function of the servlet, could you please help me for the implementation .
Do I have to create a thread class, and then can an instance of it inside init().
Thanks, I appreciate your help
Have a look at a product called Flux at http://www.simscomputing.com/ - may be what your after.