aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes A general question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "A general question" Watch "A general question" New topic
Author

A general question

Mari Wessels
Greenhorn

Joined: Jun 19, 2002
Posts: 10
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!"
Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
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


scwcd, scjd, scjp<br /><a href="http://natejohnson.us" target="_blank" rel="nofollow">http://natejohnson.us</a><br /><a href="http://rice.kuali.org" target="_blank" rel="nofollow">http://rice.kuali.org</a>
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
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
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: A general question