my dog learned polymorphism*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Ref Sequence Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Ref Sequence Diagram" Watch "Ref Sequence Diagram" New topic
Author

Ref Sequence Diagram

Josep Andreas
Ranch Hand

Joined: Jan 09, 2005
Posts: 90
I have two questions about sequence diagrams

I want to refer a sequence diagram (eg login) from other sequence diagrams (prep Itin).
Would it be possible to add a simple square block to the diagram, link to it and then just add a note explaining that another sequence diagram is executed?
(There are a lot of confusing threads here, and good samples are lacking).
=========================
For the Payment sequence digram, you have two alternatives that are relatively large.
I have seen an example where they put some sort of boundary block around these alternatives: http://www-106.ibm.com/developerworks/rational/library/3101.html
I think this could be a good option. makes your diagram clearer.

any other options for this?
thanks,
J
[ February 06, 2005: Message edited by: Josep Andreas ]
jerry conosm
Greenhorn

Joined: Sep 09, 2003
Posts: 10
Hi J,

I'm also in the process of doing my sequence diagram and I like to know if you already figure out how to model a sequence diagram that use other sequence diagram? Are you decided to the option you said above?

I appreciate any help.

Thanks,

Jerry
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Originally posted by Josep Andreas:
Would it be possible to add a simple square block to the diagram, link to it and then just add a note explaining that another sequence diagram is executed?

You can show another Use Case being executed, not another Sequence Diagram. See http://www.agilemodeling.com/style/sequenceDiagram.htm#_Toc2676188 for an example.


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Josep Andreas
Ranch Hand

Joined: Jan 09, 2005
Posts: 90
Ajith,
thanks for the reply, I will do it this way,
J
Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Josep,
I never found out how Rose could handle a use case shape in sequence diagram.
Eventually I implemented it the way Parag did. By putting note and showing
<<include xyz use case >>---> on the message becuase Rose doesnt support stereo typing and dont try it if u havent I learnt it the hard way by losing a lot of stuff I had already done and I hate Rose for that.
HTH
Dhiren
Alexander Krotov
Greenhorn

Joined: Feb 09, 2005
Posts: 9
I attempted to do this UC including and many other things for each new Rose version (since 98) which are supported by UML standard. To be honest, it is difficult to understand, why in the tool created by UML founders so many artifacts (besides well described in their articles, books) are not supported. Sometimes this absence switch me to use an old kind leaf of paper and pen.
May be some of you prefer other tool like MagicDraw,Together etc., then what do you think about these ones from the SCEA II point of view?
To think positively, Rose has its great pros of course, but from such trustworthy authors of this tool you wait a bit more than usual.


Alex Krotov<br />SCEA, step I - 89%, II/III - 92%<br />Brainbench/"OO Concepts" - 4.31
 
jQuery in Action, 2nd edition
 
subject: Ref Sequence Diagram