Hello Tom,

Wednesday, May 16, 2001, 4:50:16 PM, you wrote:

TSK> Just an idea...but instead of checking the database every minute. why don't
TSK> you check to database every 15 minutes or so. When you check the database,
TSK> capture the times that are 15 min to 1 hour ahead of the time you are
TSK> looking for and save it to active memory. Then iterate over the data you
TSK> have stored in active memory (maybe in a Vector) until you you find a match
TSK> and send out an alert. Repeat this process again and write over your old
TSK> store of memory. Sounds challenging.

He dont have to. Only one think he have to make - just put thread in
sleep mode up to next event. and check for new incoming requests if
there will be some. ;)))

He have to access database only to store and fetch info about remind
itself.

TSK> Tom K.



TSK> -----Original Message-----
TSK> From: A mailing list for discussion about Sun Microsystem's Java Servlet
TSK> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Purav
TSK> Parekh
TSK> Sent: Wednesday, May 16, 2001 8:27 AM
TSK> To: [EMAIL PROTECTED]
TSK> Subject: Re: Reminders for web based Calendar


TSK> I have to give reminder to his email or a Mobile...so
TSK> I basically should be having a Calendar server running
TSK> which can keep track of all these reminders...
TSK> Lets take a case :
TSK> User wants a reminder on Wednesday 5.30 pm about
TSK> something....and he sets the reminder today....
TSK> so the Calendar server should be checking the database
TSK> ..lets say every one minute
TSK> but that will be too much...so what are the other
TSK> techniques???

TSK> Please help...this is really urgent


TSK> Purav

TSK> --- 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:
>>
TSK> http://archives.java.sun.com/archives/servlet-interest.html
>> >Resources:
>>
TSK> http://java.sun.com/products/servlet/external-resources.html
>> >LISTSERV Help:
>> http://www.lsoft.com/manuals/user/user.html
>>
>>
TSK> ___________________________________________________________________________
>> To unsubscribe, send email to [EMAIL PROTECTED]
>> and include in the body
>> of the message "signoff SERVLET-INTEREST".
>>
>> Archives:
>>
TSK> http://archives.java.sun.com/archives/servlet-interest.html
>> Resources:
>>
TSK> http://java.sun.com/products/servlet/external-resources.html
>> LISTSERV Help:
TSK> http://www.lsoft.com/manuals/user/user.html


TSK> __________________________________________________
TSK> Do You Yahoo!?
TSK> Yahoo! Auctions - buy the things you want at great prices
TSK> http://auctions.yahoo.com/

TSK> ___________________________________________________________________________
TSK> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
TSK> of the message "signoff SERVLET-INTEREST".

TSK> Archives: http://archives.java.sun.com/archives/servlet-interest.html
TSK> Resources: http://java.sun.com/products/servlet/external-resources.html
TSK> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

TSK> ___________________________________________________________________________
TSK> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
TSK> of the message "signoff SERVLET-INTEREST".

TSK> Archives: http://archives.java.sun.com/archives/servlet-interest.html
TSK> Resources: http://java.sun.com/products/servlet/external-resources.html
TSK> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



--
Alexander Fedorov
Software developer
Adcore
Wibautstraat 120
1091 GP Amsterdam
the Netherlands
tel: +31 (0)20 561 1825
fax: +31 (0)20 5611701 or +31 (0)20 5611849
e-mail: mailto:[EMAIL PROTECTED]
www.adcore.nl

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6

mQEPAzp+jaIAAAEIAKB37EITxsVevyCDd9hOmtLhyzncJZ94UIhi/yflAk8c3xr+
1lFkXpXrs7PhmzTzzojmJQulUIBwV8IHVi3P3sua4PpcRWtAzbGfP4G4rsGcBKdi
09xkELSEtfICsBU3/haQQIB2UH/T/zAefFaRj3XRI/Mqwhz1v6uqwy3zWtKpJWVE
RpeA6ShMd+w7Gp5NvsomUjEpZRIZLWBHpcbjsn34A1VLUMw272e2o9ndV91nDcFf
SFZQpNCUdhM7eM9x4ab6pIrLkWlvDehQnBAyXs95Zxviwhmd37fBWM4MA3V9GsLv
ZxJ1WmmPyu4Hv/7tTYNDSlODHYU5jIZg+jBbvJUAEQEAAbQwQWxleGFuZGVyIEZl
ZG9yb3YgPGFsZXhhbmRlci5mZWRvcm92QGFkY29yZS5jb20+
=Ak1z
-----END PGP PUBLIC KEY BLOCK-----

___________________________________________________________________________
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

Reply via email to