I want to have distributed system i n Java where clients ask the server for permission to read/write, and wait for the "ack" message from the server.
In the