This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi All, When several clients have connected to the server and loaded records to display these in the GUI and one client books (modifies) a record, should I notify the other clients about the change and trigger an update of there GUI? Or ist is OK to leave the records and only notify the user when he tries to book the same record? What do you think? I've to say that I'm using the "serialized" approach of networking.
hi Widmer : I prefere the second approach, notifying clients when they try to update/ book a record. I followed this approch in my project too. The first approch doesn't make sense to me, and it is problematic. Imagine a group of clients just viewing the data, and another group updateing the data. The first group of client don't need to be notified of changes, otherwise they will be hammared with notifications.
SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
Joined: Jun 16, 2004
Hi Hanna Thanks for your hint. Deeply I thought so as well, but I was not sure.