This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Sequence Diagram: How to display JSP to JSP transition? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Sequence Diagram: How to display JSP to JSP transition?" Watch "Sequence Diagram: How to display JSP to JSP transition?" New topic
Author

Sequence Diagram: How to display JSP to JSP transition?

san kumar parihar
Ranch Hand

Joined: Dec 05, 2010
Posts: 30
An action on Input.jsp returns Output.jsp as outcome to the Actor. How do we display this basic interaction in sequence diagram? By default the return arrow comes back to where we started from (which is Input.jsp) but that is not what actually happens.

Is it fair to remove the return arrow from Controller to Input.jsp
Actor --> Input.jsp --> Controller --> Backend

And then show:
Actor --> Output.jsp
Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 319

Why can't you just do something like:


san kumar parihar
Ranch Hand

Joined: Dec 05, 2010
Posts: 30
Will - If "return" arrow (as you depicted) is synchronous invocation to Output.jsp from OtherStuff, then will Actor invoke same "execution occurance" on Output.jsp (verical rectangle running down) for the next activity? I hope that does not break any UML standard.

PS: I am using Rational Software Architect.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sequence Diagram: How to display JSP to JSP transition?
 
Similar Threads
Sequence Diagram
Flow being lost
log-in failure thru UML's sequence diagram ?
Related to useBean
Displaying how images are being loaded