This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Part II: usage of sterotypes within the class & sequence diagrams
 
Similar Threads
Important question regarding the level of detail of the diagrams for part 2
Cade component diagram and DAO
Question regarding Business Delegate, Stateless Session Bean and Entity Bean in SCEA Part 2
class diagram objects vs. sequence diagram objects
UML & Stereotype questions