Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

return arrow on sequence diagram

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.,
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Ever since I found this suit I've felt strange new needs. And a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic