periodic task in web container best practice
Hi All,
My wep application has to monitor a specific directory on the hard disk for new incoming files (I know about the difficulties here - that's not the problem). Right now I'm planning to write a servlet which does nothing more but create a java.util.Timer in init() and schedule a java.util.TimerTask with it (and of course cancel() the timer in destroy()).
How would you solve this?
Uli

