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,
Alex
pascal betz
Ranch Hand
Joined: Jun 19, 2001
Posts: 547
posted
0
why should it be a singleton ? (ok i am from the "Singletons are evil side" :-) )