Hi ppl! I have completed the assignment (fairly basic but it all works). Now, one of my co-workers says that he reckons I should use more oo (for instance, I don't have lock manager, calls to lock and unlock get handled by my booking class). I'd just like some opinions from ppl who have done assignment and handed it in, is Sun looking for massive oo and lots of classes etc. or just a clearly designed system that follows good coding standerds, is extendible and works? Mari.
SCJP2<p>"Don't be afraid to try something new, remember amatuers built the ark, professionals built the Titanic!"
Joined: May 13, 2002
I think that you should being designing for OO and not a procedural design ... if you have designed around a few good patterns and have an extendible design then it is probably fine... about the number of classes, it doesnt matter how many you have... for me, I had 28 classes (probably half are interfaces that are required either for patterns or protocols). Just be sure that you follow the requirements in the instructions
Hi Mari, I agree with what Nate says. You can ask our "Fearless Leader" of this forum (Mark that is) about the evils of not using a lock manager. I don't think anyone is suggesting that you will fail the exam, provided that everything works and you have complied with all the instructions and requirements, but if your solution is more procedural than OO, you may not get as high a score. Hope this helps, Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Try using the LockManager, I think that is the only place that I lost points, because I didn't use this solution. I think it is a really great idea. I'd also like to suggest that you do go over your code and see if it follows OO design, and if not to rethink how you can implement OO designs in you design. You will know when it complies 100% too OO designs, it is kind of a big eye opener. You finally say, OH! now I see what all the hubub is about. If you doubt that you are using OO, then you probably aren't. Kind of tough to explain, but it is a like a light switch going off. Mark