aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes return arrow on sequence diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "return arrow on sequence diagram" Watch "return arrow on sequence diagram" New topic
Author

return arrow on sequence diagram

talu singh
Greenhorn

Joined: Jun 07, 2010
Posts: 18
On Cade and Sheil book, Figure 9-6 contains a sequence diagram with solid line arrow from NoticeManager to NoticeController. The return arrow is labeled as 'return result'. Shouldn't the arrow be an arrow with dash line?


Also, there is a solid line arrow called 'render result' from NoticeController to Result.jsp, shouldn't this also be in an arrow with dash line, since the NoticeController is just returning the result to result.jsp (and not invoking a method on the jsp page).

Thanks.
sivan jai
Ranch Hand

Joined: Feb 24, 2010
Posts: 115
yes returns need to be broken lines. Also usually I dont put return arrow if it doesnt add anything new to the picture or if it is very obvious - that is just me ofcourse.
Kuppusamy Venkatasubramanian
Ranch Hand

Joined: Dec 30, 2004
Posts: 91
Hi,

What i noticed from those diagrams is they just present an outline and you have to look for more details to complete the diagram from elsewhere. If it is very complete in all nature what are the exam takers supposed to do. Just follow and re-draw the diagram for their assignment? Exam takers have to do the homework to make the assignment complete.

Cheers,
Kuppusamy.V.,


SCJP1.4, SCBCD 1.3, SCWCD 1.4, SCEA 5, JLPT-N3
My Blog
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

sivan jai wrote:yes returns need to be broken lines. Also usually I dont put return arrow if it doesnt add anything new to the picture or if it is very obvious - that is just me ofcourse.


Same here. Although where I work some people insist that I use the return arrows on every call. It adds clutter in my opinion


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: return arrow on sequence diagram