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

In UML 2.0 for Sequence Diagram, when do you use "Lifeline", "Boundary", "Control" and "Entity"?

 
Denise Advincula
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've done diagramming a lot in design docs but I only mostly use the Lifeline image. And usually, the interface and the name of the implementing class is represented there. I may have used the Entity diagram to represent a data store.

So, I wanted now to make it right, and confirm that I'm using the right representations all my life... UML 2.0, when do you use these other lifeline types...?

Lifelines (mostly rectangles):

Boundary, Control, Entity:


 
kumar naresh
Ranch Hand
Posts: 120
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Denise,

About Boundary, Control and Entity lifelines there are some examples given in Adam Bien's "Real World Java EE Design Patterns, Rethinking Best Practices"

http://download.java.net/general/podcasts/real_world_java_ee_patterns.pdf

There its clearly mentioned about these differences through some examples of Domain Driven and Event Driven Architecture.

Thanks,
Kumar.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!