My question is as follows: What is the best way to code a listener for file changes on a web application? Should it be a singleton? Should I create a listener? I hear that a standard listener with timer can cause memory issues with some applications.. I am using Quartz to run jobs. I want to fire a Quartz job that uses a file right after it has been modified.
Thanks in advance,
Joined: Jun 19, 2001
why should it be a singleton ? (ok i am from the "Singletons are evil side" :-) )