• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

return arrow on sequence diagram

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic