Hello, I am new to the ranch here but have been a silent observer for some time. I have a question about the functionality of the B&S project.
It makes no mention of this in my project specs, but is it required to have some kind of network server notification from the server to the client(s) whenever one client makes a change to the database? By doing this, all clients would then be updated to reflect the latest changes to the database whenever a change occurs (updating a record or deleting a record, etc.). I have not seen anything like this in Max's book or the Exam Cram book - perhaps this is beyond the scope of this project? I don't want to get docked points for missing functionality that should be there.
Rule of thumb seems if it isn't specifically required, don't bother. I'm not. Considering the whole "this will eventually be a web app" portion of the description, server->client notification is a complete waste of effort IMO.
Implementing the Observer pattern is important for a real world project, but for this assignment it has generally been considered outside the scope of the project. You will not lose any points if you do not implement it.
If you do decide to implement it, realize that there are some issues using java.util.Observable with RMI... it has been brought up a few times in this forum, so you should be able to find the threads.
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
Joined: Apr 19, 2005
Thanks a lot for your replies. If it's not required, then I'm not going to do it. One less thing to worry about, and one less thing to potentially go wrong during evaluation. Thanks again.