Just an idea...but instead of checking the database every minute. why don't
you check to database every 15 minutes or so. When you check the database,
capture the times that are 15 min to 1 hour ahead of the time you are
looking for and save it to active memory. Then iterate over the data you
have stored in active memory (maybe in a Vector) until you you find a match
and send out an alert. Repeat this process again and write over your old
store of memory. Sounds challenging.
Tom K.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Purav
Parekh
Sent: Wednesday, May 16, 2001 8:27 AM
To: [EMAIL PROTECTED]
Subject: Re: Reminders for web based Calendar
I have to give reminder to his email or a Mobile...so
I basically should be having a Calendar server running
which can keep track of all these reminders...
Lets take a case :
User wants a reminder on Wednesday 5.30 pm about
something....and he sets the reminder today....
so the Calendar server should be checking the database
..lets say every one minute
but that will be too much...so what are the other
techniques???
Please help...this is really urgent
Purav
--- Michael Weller <[EMAIL PROTECTED]> wrote:
> you could write a standalone-application running on
> any client. This
> application opens up a connection (every hour, every
> ten minutes, whatever)
> to a servlet to find out if there is there is
> something to be reminded of,
> and if so, the application opens a browser window
> requesting the servlet to
> display the reminder for that user. The problem is
> that every user of your
> calendar needs to install that client...
>
> -mw
>
> At 18:13 16.05.2001 +0530, you wrote:
> >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
__________________________________________________
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