|
Joe Pluta wrote:
From: Mike Burdette
What is the best way to fire a servlet at a specified time?
I haven't done this yet, Mike, but I've thought about it. It seems to me that if you use a tool like Brad Stone's GETURI (I think Scott Klement may have an example of something similar) you could schedule an RPG program to run that would simply hit the servlet with an HTTP request of your choosing.
To get an idea how the Timer Service works, see this: http://www-106.ibm.com/developerworks/websphere/downloads/WASTD6Support.html (look at the Timer Tutorial at the bottom of the page)
So i cant give you a J2EE solution, there are some problems at the moment:
1. you need WAS 6.0 (which is IMO not available yet) 2. since you are on iSeries, you will have to wait even more for WAS6 ;) 3. you cant trigger Servlets
Marc Logemann http://www.logemann.org
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.