Yuvaraj Mani wrote:
>
> I am trying to run a servlet ... I want this to be done every 10
> minutes OR whenever there is an update in the table in the first
> database.
>

 The "every 10 minutes" part is conceptually simple, but sort
of a pain:

 <URL:http://www.distributopia.com/servlet_stuff/background_threads.txt>

 Quick summary: don't do it with a Servlet.

 The "whenever there is an update" part is harder, since it
depends on your setup. If both tables are in the same database,
you could probably write a trigger to do the update. If you
know what apps will be doing the updating, you could add code
to those apps to do the transfer. Etc. It just depends.


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.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

Reply via email to