Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

sequence diagram with actor

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When drawing a sequence diagram for a use case (for scea 5), do you need to display actor also?

Reading document at http://www.sparxsystems.com/resources/uml2_tutorial/uml2_sequencediagram.html makes me think it is a good idea to include it.
But does any one know if Boundary, control and entity elements also needs to be included in sequence diagram.

Thanks
 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
personally I didnt include the actor in the sequence diagram.
 
Greenhorn
Posts: 12
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should include the Actor in the sequence diagram. Boundary, Control & Entity are Rational/IBM concepts as is the concept of "Use case realization" so they are not part of the UML standard. Specifically, in Rational Rose they use different UML representation for those types of classes. If you do decide to use "Boundary/Control/Entity", make sure you represent them as classes (maybe strereotyped) and not using the Rose notation. That's what I am doing anyway.

Hope this helps.
Drago

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

talu singh wrote:When drawing a sequence diagram for a use case (for scea 5), do you need to display actor also?

Reading document at http://www.sparxsystems.com/resources/uml2_tutorial/uml2_sequencediagram.html makes me think it is a good idea to include it.
But does any one know if Boundary, control and entity elements also needs to be included in sequence diagram.

Thanks



You can find this complete sequence diagram tutorial to clarify what you've mentioned above.
 
The knights of nee want a shrubbery. And a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic