I have a question and it may just be something that I've either created because of my implementation of the URLyBird project or perhaps it's just one of those undocumented issues that needs to be flushed out. I did some searching around the forum but didn't find anything and I hope this isn't a duplicate.
What I was wondering is in the networked mode, when you have 1 server running but 2 clients, if one of the clients books a room, how does the other client's GUI get updated?
I was thinking of doing some simple heartbeat that goes back to the server every to get the update data - but maybe this doesn't need to be considered? Of course, even with the heart beat approach theres still a chance that the CSR will try to reserve a room in the heartbeat window. But that can be solved with just a dialog to the user that the message .
My approach contains a service layer which returns exceptions like "NoSuchRoom" or "RoomAlreadyReserved" just incase the client and the server do get out of sync. In that case the client can get these exceptions and relay them accordingly to the user.
I really tried to figure out if this was scope creep, but the assignment clearly states that you have to deal with multiple clients locking a single server. So if theres multiple clients accessing the same data, theres going to be a chance of this happening.