Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Class Diagram

 
Peter Lee
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

Since class diagram should depict the static design of the system, however, in Cade's book example (Figure 8-6), it shows a class ShoppingCart which should not be one of the static design class, am I right?

Thanks.

Peter
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter,
The Shopping Cart is mentioned in the use cases, so I think Cade is correct to show it. However, I don't think he should show session beans. This is mixing up 'conceptual' and 'specification' views of a class diagram. However, since Cade was involved in setting up the SCEA exams, It looks like Class diagrams are open to interpretation.

Ray
SCJP, SCWCD, SCBCD, SCEA (paer 1), IBM-484, IBM-486
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!