my dog learned polymorphism*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Class diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Class diagram" Watch "Class diagram" New topic
Author

Class diagram

ranjeeth kumar
Greenhorn

Joined: Jan 09, 2005
Posts: 14
All-
In many thread I have gone through (especially the one Parag wrote), I saw the class diagram only depict business objects. What I understood here is that

-No technology related classes (servlet,jsp,ejb)
-No pattern related classes
-Only pure business (domain classes)

But I certain threads I saw the classdiagrams are having around 20 classes. Do we have that much domain objects/or I am I missing.

-Ranjeeth
Josep Andreas
Ranch Hand

Joined: Jan 09, 2005
Posts: 90
ranjeeth,
I have read a lot of threads about class diagram.
People have had good scores on the class diagram with the number of classes varying from (15-25)!
It really depends on the amount of detail you want to put in your class diagrams. (e.g. it is also possible to put in all the classes in the webtier; but you will end up with a large diagram).
I think if you use Cade's Guide as your guideline you will end up
with a design of about 15-20 classes.
regards,
J
ranjeeth kumar
Greenhorn

Joined: Jan 09, 2005
Posts: 14
Hi Josep-
Thanks for ur quick reply. Just wanted to confirm, ur refferring to "Sun Certified Enterprise Architect for J2EE techonolagy study guide " by Mark Cade and Simon Roberts.

Thanks in advance
Ranjeeth
jono
Greenhorn

Joined: Dec 22, 2004
Posts: 25
Hi,

I have the same question. I have limited my class diagram to the domain objects i.e. no j2ee components and (critically) no pattern classes e.g. VLH or App Controller.

If this is correct, where do we specify POJO classes in patterns? Are they components in the component diagram anyway?

examples are Application Controllers, Business Delegates...

I think I am answering my own question actually

I will include the pattern classes as a component in the component diagram and mark it as POJO with a stereotype.

does this make sense?
Josep Andreas
Ranch Hand

Joined: Jan 09, 2005
Posts: 90
ranjeeth,
Yes it's 'mark cade and simon roberts' guide.

Jono,
yes makes a lot of sense, I'am following the same approach.

regards,
J
ranjeeth kumar
Greenhorn

Joined: Jan 09, 2005
Posts: 14
Hi-
Thanks for ur reply. I was going through Cade's book. In the class diagram, attributes are not shown, mentioning that it will be done by developers at the time of detailed design.

is that what everybody following

Thanks
Ranjeeth
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class diagram