• 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

sequence diagram...classes or component (what to use?)  RSS feed

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are we supposed to show classes in sequence diagram?
OR
can we show the components in sequence diagram as given in cade's book?

The difference I see is rather than showing a class like: ': OrderVO', It has been shown as 'OrderVO' in cade's book.

Any thoughts?

Bobby
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

To be strictly correct, you should remember that a Sequence Diagram is a dynamic view of the application, so, you must show instances unless your class has static methods.

But if you follow Mark Cade�s example you will be fine. I havent gotten my results yet, but I followed his advices, as others ranchers have done.
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i agree with cleuton, sequence diagrams must show instances of your classes (objects) , but for practice you can show classes directly.
 
Bobby Sh
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cleuton / Santiago ,
...Then do you think, while displaying the class name directly in sequence diagram, should i write a note about this deviation ?

Bobby
 
Santiago Urrizola
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can display class name directly in your sequence diagram, its almost a convetion in UML.
I do this in that way with no problem.
 
Your mother was a hamster and your father was a tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!