Hi Experts,
I've an xml file sitting in NAS (Network Area Storage) and is being updated by a piece of code that resides in 2 different JVMs.
it looks like when both the JVMs are trying to access the same file and write the contents into it only one of the requests is statisfied and other one is not.
How do i make sure that the second request waits till the first write operation is complete and then proceed.
Please sugggest!
Thanks-
JM
Start Free Trial