Hi,
I'm working the urlybird developer project and I have a question about locking.
The instructions given to me state that I can assume that at any moment, only one program is accessing the database file, therefore the locking system only needs to be concerned with multiple concurrent clients of my server.
Question 1) I'm not sure what the above statement really means. If I have multiple clients connected to a single server, each of the clients has a database connection to the same database file, so how can only one program be accessing the database file?
Question 2) doesn't RMI handle the threading of the client connections? In other words, when a client desires a connection to the server thru RMI, doesn't RMI create a separate
thread for that connection?