This week's book giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line! See this thread for details.
I am using the RandomAccessFile since there are 2 procress . one process will write in a.txt file and 2nd process will read from a.txt simultanously. i found that data get lost so i would like to set the lock on file that is while reading and writing the file.But locking faclilty is in reader and writer class so whether there is any way to lock the file in random access file. Thanks in advance