time event

in my web application i want to fire a class's method after every specific number of seconds.. pls give some suggestioins.... im using tomcat 5.0
[153 byte] By [Neo2001a] at [2007-11-26 13:47:38]
# 1
You can use the Timer class. http://java.sun.com/products/jfc/tsc/articles/timer/
Rodney_McKaya at 2007-7-8 1:23:20 > top of Java-index,Security,Event Handling...
# 2
Documentation: http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/Timer.html
CaptainMorgan08a at 2007-7-8 1:23:21 > top of Java-index,Security,Event Handling...