Section 5.11. Sequence Diagrams

   

5.11 Sequence Diagrams

Sequence diagrams are rather like collaboration diagrams, in that they represent the same information. The focus of a sequence diagram is not spatial, as it is with a collaboration diagram, however. Its focus is on the communication between objects in process. A sequence diagram is shown in Figure 5.4.

Figure 5.4. Sequence diagram.

graphics/05fig04.gif

Each object is represented by a vertical bar. Time elapses from the top to the bottom. Because of this, they can be more straightforward to read than collaboration diagrams. Also, message numbering is optional because the message placement on the page indicates its ordinality.

5.11.1 When to Use Sequence Diagrams

Sequence diagrams are most useful for representing complex interactions within a system. Sequence diagrams are generally written after collaboration diagrams.


   
Top


Java for ColdFusion Developers
Java for ColdFusion Developers
ISBN: 0130461806
EAN: 2147483647
Year: 2005
Pages: 206
Authors: Eben Hewitt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net