• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

two questions regarding uml diagrams

 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Is it necessary for a sequence diagram to have an Actor? When one use case just transfers control to another, how should that be presented?
2. What is the appropriate place to show protocols... stereotyping dependencies in Component diagram, Deployment diagram or documentation?

thanks.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. I don't understand why an actor present in a sequence diagram, can you be more specific?
2. protocol should be presented in a deployment diagram.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are different flavors of usage for Sequence diagrams.

For instance, when a Business Analyst creates Use-case diagrams, they may also create Sequence diagrams that outline sequential executions of various steps/procedures for the use-case. In these diagrams, they typically include one or more Actors. These diagrams include general concepts and are functional not technical

For Sequence diagrams that cover object communications related to a series of sequential method calls, there is no Actor. These are more technical diagrams which include specific class/method names, etc.
[ April 21, 2008: Message edited by: James Clark ]
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Kengkaj Sathianpantarit:

2. protocol should be presented in a deployment diagram.


I've heard different things on this?

Which protocol does a web client use to connect to the server? SSL? IP? TCP? HTTP? HTTPS? Which part of the protocol stack makes it onto the diagram?

What about connecting to an email server? Do you put on POP3 or IMAP or something? For email, it's still TCP/IP, right? So do you put that one?

I'm not sure what the official answer is.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic