This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlet & timertask Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet & timertask" Watch "servlet & timertask" New topic

servlet & timertask

urarom sogard

Joined: Sep 10, 2002
Posts: 21
i need a servlet to update a status in db every 1 hour.
is it right to use the timer & timertask ?
Vlad Patryshev
Ranch Hand

Joined: Jun 30, 2001
Posts: 61
Hm. Jasper, in Tomcat 4.1, does not hesitate, in JspRuntimeContext, to start as many silent JSP compiler threads as there are JSP directories found. We mortals are supposed not to be aware of this, but what the.

Thanks,<br />Vlad
I agree. Here's the link:
subject: servlet & timertask
Similar Threads
searching a file in a directory
Running a thread in background in servlet
load on start up
TimerTask, Threads and Servlets
How can a non-servlet find application root and best way to access a servlets data?