tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sjoerd van Leent" <>
Subject RE: How to trigger events from tomcat?
Date Sat, 16 Aug 2003 15:04:04 GMT
It seems the best way to do it is in a process or a thread, running
aside the regular web-application. This indeed uses an infinite loop to
check on times. You should be able to set this process as a low-priority
process, so it doesn't consume too much processor time.

I don't know if there is anything like a Timer in Java which you could
use, where it triggers on a timer interrupt. This should make it even
more lightweight.


-----Original Message-----
From: Prince [] 
Sent: donderdag 25 juli 2002 16:41
To: Tomcat Users List
Subject: How to trigger events from tomcat?


I am developing a web based appointment sheduler. the data is stored in
xml format.  i am using tomcat/jsp/servlet

for example if i added a new appointment , the program will ask for  a
reminder time. I am giving 08/08/2003 10:30
 so at 08/08/2003 10:30 an email should be sent to me saying that u have
an appointment.

how can i trigger for appointments. ie some method should be ther to
check if the appointment time is due on each second. Can i put an
infinite loop some how?

thanks n  regds

View raw message