File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Class Diagram Detail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Class Diagram Detail" Watch "Class Diagram Detail" New topic

Class Diagram Detail

Ranganathan Kaliyur Mannar

Joined: Oct 16, 2003
Posts: 1101

In Part II, I was thinking that, we have to specify all the important methods along with parameters (otherwise how would the flow be clear?).
When I saw the class diagram on Mark Cade's book online, I was almost shocked. It just had the class names and not a single method or attribute. Is this fine for the actual exam?
Also, we need to draw sequence diagrams - for that we do need to know method names etc. - this seems to be contradictory...

Teja Saab

Joined: Mar 08, 2010
Posts: 152
It is not possible to add every single attribute/method to the class diagram IMHO. I think we need to add the significant methods/attributes to the classes and of course the methods that are depicted in the sequence diagram need to be shown in the class diagram. This is explicitly mentioned in the deliverables section.

I think that our diagrams need to be more detailed (but not by much) than the diagram in chapter 9 of the SCEA study guide.

Just my thoughts though....

Dmitri Ericsson
Ranch Hand

Joined: Feb 16, 2010
Posts: 109
It's simple: put all the methods from sequence diagrams + some (not many) additional fields or methods if you feel that it helps to understand how everything works

SCEA 5, SCJP 6 My SCEA Experience
Ranganathan Kaliyur Mannar

Joined: Oct 16, 2003
Posts: 1101

hmm...this makes it little difficult for me...
I design my classes first and then goto sequence - though when drawing class diagrams, I think about the sequence!
and also from a tool point of view, you have to indeed draw the class diagram first and then only you will be able to draw, I have to start using my hand-drawing...which I haven't done till now.

Thanks for the valuable points has made my understanding much easier...
I agree. Here's the link:
subject: Class Diagram Detail
It's not a secret anymore!