I need to know when a new file appears in a directory. Obviously, I could poll the file system periodically, but that has all the normal downsides of polling mechanisms.
I know that windows supports file system events, and this project is already constrained to the Windows platform by other requirements.
Does anyone have experience receiving Windows filesystem events inside a JVM? If so what are the best practices, patterns, and/or libraries you have used?
A quick google turns up this library. Does anyone have experience with it (or any other) that they'd be willing to share?