I have several threads running in different programs that will might try reading and writing to the same file at the same time. The best solution I could come up with was to write a small RMI semaphore server using the absolute path and file name as the key. Is there a simpler way to do this?? I'm not really even sure if it's necessary.

Thanks in advance,

Scott Moyer
Quicksand Development