This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes about sequence diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "about sequence diagram" Watch "about sequence diagram" New topic

about sequence diagram

James Wang
Ranch Hand

Joined: Sep 04, 2003
Posts: 102
Hi Guys,

Now I use Rose 2002 to design my seq diagram, but it does not support that a usecase be added in seq diagram.

The prepare usecase required the price usecase and the payment usecase. may price usecase be used in prepare seq as "Actor"? or the price usecase is used in prepare seq as "stereotype"? such as there is "<<usecase>>" in a square and the square is display in the top of the seq diagram. any reply is appreciated.

Matt Lewis

Joined: Jul 26, 2004
Posts: 8
I included an actor or other component in the Sequence Diagram labelled "XXX Use Case", and used an <<include>> stereotype to show that the Use Case formed part of the sequence diagram.

This is described here - UML 2 Sequence Diagram Overview

It states
The method of modeling the inclusion of use cases using in Figure 7 is something that I first proposed in The Elements of UML Style although I have no doubt that others use this approach as well. I basically show the use case as a bubble across the top of the diagram, just like any other classifier, and show a message sent to it with the <<include>> stereotype. This is consistent with both use case diagramming and sequence diagramming practices.
I agree. Here's the link:
subject: about sequence diagram
jQuery in Action, 3rd edition