You do not have to access the dataBase every minute. Just create a structure
in memory and access this structure every minute. Synchronise this structure
with the database as needed, that is every time a new event is added to the
structure (so that no event will be lost if the servlet is unload or
crashes) and every time the servlet is loaded.
Pierre-Yves
-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
Purav Parekh
Envoyé : vendredi 25 mai 2001 16:54
À : [EMAIL PROTECTED]
Objet : Re: Reminders for web based Calendar
you mean to say....a database aceess every 1
minute...too much load
Purav
--- "Peters, Jim" <[EMAIL PROTECTED]> wrote:
> Why not program a thread that goes to sleep and
> wakes up every minute,
> checks the time, and sends a mail message. Some
> pagers let you send a page
> with a email. I'm interested to hear the
> response(s) to this approach.
>
> -----Original Message-----
> From: Purav [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 16, 2001 8:43 AM
> To: [EMAIL PROTECTED]
> Subject: Reminders for web based Calendar
>
>
> Hello Guys,,
>
> I am developing a web based Calendar..
> any idea how do you acheive sending reminders for
> particular date....
> I guess you need a Calendar server running
> behind...or is there any other
> way,...
>
> Otherwise everything works ok using
> jsp/servlet/beans
>
> Please Help. This is Urgent
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.252 / Virus Database: 125 - Release
> Date: 5/9/01
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
http://www.lsoft.com/manuals/user/user.html
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html