aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Part II: usage of sterotypes within the class & sequence diagrams 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 "Part II: usage of sterotypes within the class & sequence diagrams" Watch "Part II: usage of sterotypes within the class & sequence diagrams" New topic
Author

Part II: usage of sterotypes within the class & sequence diagrams

Allexicus Kernikus
Ranch Hand

Joined: Oct 07, 2009
Posts: 42
I have read that technology specific stereotypes should be added to the class diagram - I have decided on <<JPA entity class>> for my entities, <<JSP page>> for my views, <<stateless session bean>> for my managers/helpers and <<stateful session bean>> for my controllers. I was wondering if the classes should carry those stereotypes also when referenced within sequence diagrams...

Also, I guess it is safe to assume that when using JPA entity classes, no DAOs are needed. Furthermore I have refrained from referencing the EntityManager within my diagrams, similar to the rest of JEE services & classes.

Finally, I have assumed that persist calls don't have to be shown within the sequence diagrams, unless they are explicitly stated within the use case description (especially when using JPA).
 
jQuery in Action, 2nd edition
 
subject: Part II: usage of sterotypes within the class & sequence diagrams