permaculture playing cards*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S Total classes in the project. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "B&S Total classes in the project." Watch "B&S Total classes in the project." New topic
Author

B&S Total classes in the project.

John Mattman
Ranch Hand

Joined: Feb 18, 2008
Posts: 45
I have finished the coding part. Still need to generate the javadocs.
All together i have created 4 packages with just 15 classes.These are the packages

suncertify.client

suncertify.config

suncertify.server

suncertify.db

I saw lot of people posted that they had about more than 30 classes. Am i too short?
[ May 22, 2008: Message edited by: John Mattman ]
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2258
    
    3

Hey man.

I think you should not worry about these numbers. For instance, I finished with 5 packages (and other 4 packages inside them), 56 classes and around 2000 lines of code. I think you should only worry if you have to many inner classes, and too many classes with too much code. I would say that this may be considered in the OO Design part of their evaluation.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
John Mattman
Ranch Hand

Joined: Feb 18, 2008
Posts: 45
Thanks for your reply Roberto. One of my class has 3 listeners as inner classes. Will that going to be problem?

John
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2258
    
    3

Hey my buddy.

Well, I would avoid this, you know... take a look at this article: http://developers.sun.com/mobility/midp/articles/slimming/. Even though it is about wireless Java applications, the behavior of the JVM theoretically is the same (in this case), and they do advise to avoid inner classes. I've also seen many discussions around the software engineering comunity, where people tend to avoid inner classes. I do too because I believe it makes the code more cohesive, maintainable, reusable and readable.

I also have a big number of classes because many of them are interfaces, and I created several components as well.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: B&S Total classes in the project.
 
Similar Threads
Type 2 dirvers
How to complile java classes which exist in different Packages
Old Codes, New Platform - Any Impacts?
referring to a file within src folder
IDE for Java