On Thu, 19 Jul 2007 23:54:03 GMT, "Crouchez"
<> wrote, quoted or indirectly
quoted someone who said :
>If there's a java process writing to a file and another java process reading
>from it - what happens? Does the reader take it what's currently been
>written or what? Does the OS deal with this in some way - like giving a
>before-write copy of the file?
A mess. The file will look to the reader the length it had at the last
flush or close.
For than sort of thing you normally use a TCP/IP stream.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com