posted 20 years ago
Hi,
If we run the FBN assignment mode in the standalone mode then we are not using RMI or sockets.
If a user happens to start two clients from the same machine in the standalone mode. In effect we are having two JVM's running.
db.db file is part of client.jar
How do we make sure that we dont end up screwing the data file because our locking etc will be handled in the JVM.
In case of remote clients we can handle this because all our i/o access to the file is via one single class on the RMI server.
But in the standalone case havingmultiple clients.
we will definitely end up screwing the data file..
Any advises/suggestions/clues.
Akshay Kumar Sharma<br />**********************<br />Good Better Best <br />Never Let it rest<br />For your good is better<br />and the better is the best