Win a copy of The Java Performance Companion this week in the Performance 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic