aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes sequence diagram...classes or component (what to use?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "sequence diagram...classes or component (what to use?)" Watch "sequence diagram...classes or component (what to use?)" New topic
Author

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

Bobby Sh
Ranch Hand

Joined: Feb 14, 2006
Posts: 49
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
Cleuton Sampaio
Ranch Hand

Joined: Nov 11, 2005
Posts: 181
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.


Cleuton Sampaio<br />Systems Architect<br />(SCEA,SCWCD,SCBCD,MCSE,MCSD)
Santiago Urrizola
Ranch Hand

Joined: Apr 27, 2006
Posts: 172
i agree with cleuton, sequence diagrams must show instances of your classes (objects) , but for practice you can show classes directly.


Santiago Urrizola : La Plata - Argentina<br />SCEA (89%-92%)<br /><a href="http://gpitech.wordpress.com/" target="_blank" rel="nofollow">http://gpitech.wordpress.com/</a>
Bobby Sh
Ranch Hand

Joined: Feb 14, 2006
Posts: 49
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

Joined: Apr 27, 2006
Posts: 172
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sequence diagram...classes or component (what to use?)