Writing to a File: Java.io

Good day,

I would like to know if it is possible to use a general file for 20 to 30 users.

What will happen when two or more users try to open and save a same file simultaneously? Will the thing crash, will there be an exception or will it work?

Thanks for you help!

Dimitri Depaepe.

[314 byte] By [depaepedimitria] at [2007-11-26 16:27:30]
# 1
Chances are nothing will crash, but **** will probably result anyway.The exact behavior will depend on the OS, etc.In any event, trying to use a single flat file as a database across multiple simultaneous processes for multiple simultaneous users is almost certainly a bad
paulcwa at 2007-7-8 22:51:43 > top of Java-index,Java Essentials,Java Programming...
# 2
I think you wont get any Exception. But Using single file for multiple user is not a fair idea.
shagila at 2007-7-8 22:51:43 > top of Java-index,Java Essentials,Java Programming...