With “only a little Java code and a third-party product,” Bob Reselman was able to make Windows pay attention to the goings-on of a Macintosh server. Here’s how he did it.
Watching Mac OS X File Events from Windows
Submitted by Eugenia 2005-06-19 Java 6 Comments
It should be titles Watching MacOSX File Events. The from windows part makes it look like something special, meanwhile this is really nothing special. Nothing to see here, move along.
I ran the file system watcher thing an it worked great! I thought that this feature was only available on Tiger but I’ve only got Panther!
It’s a pity the library isn’t free ’cause then I’d play around with it much more.
Can you interfere with the traffic, eg wait for a file called “Bob’s Performance Report” to flow through and replace the contents so it looks like the company would sink without a trace if it weren’t for yours truly?
We use JNI wrapper for OS dependant access in our jaa projects. it is possibly the best JNI library. Very good for dll, com, registry access. Plus it has Linux-Mac support. it is commercial but royalty-free and cheap.
Solves a well-defined problem in a pragmatic manner. Bravo.
Couldn’t he have accomplished the same task using NSWorkspace without having to pay a license fee for JNIWrapper?