Mub;
Try this;
1. Create a servlet class Job.
2. Have the servlet be automatically loaded by the
servlet runner.
3. In Job, instantiate a javax.swing.Timer object. The
timer can be configured (with timing set via servlet
init parameters) to fire Job.actionPerformed() every x
seconds.
4. Code actionPerformed() to perform the activity you
described.
//Nicholas
--- MA <[EMAIL PROTECTED]> wrote:
> Hello Guys:
> I'm trying to implement servlet invocation after
> certain time period automatically.
> The servlet will connect to a database, retrieve the
> data and then download it into a flat file. I want
> this process to be repeated after every 30 minutes.
> Any brain dump or pointers about how to implement
> this
> is appreciated.
>
> Thanks,
> Mub
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://messenger.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
>
=====
"And what causes me to run?
'Cause you're a...
Big Black Furry Creature From Mars"
--
Nicholas Whitehead
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.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