Sequence diagrams are a form of interaction diagram. Each sequence diagram captures the behavior of a single scenario, showing objects and the messages that pass between them. You can create a sequence diagram by using the UML sequence component palette or through the debugger. After you have created the diagram, you can start a tracer that will step through each of the activations and messages, showing you the sequence.
To create a sequence diagram using the UML sequence component palette:
Object Lifeline
Message - for synchronous messages and related activations
Creation Message - for messages that create an object
Stop Message - for messages that indicate that an object is no
longer needed
Return - for return messages
Async Message - for asynchronous messages and related activations
For more information on creating nodes and connectors on a diagram, see Creating Nodes on a Diagram and Connecting Nodes on a Diagram.
Tip: You can also annotate your diagram by creating and attaching notes to diagram elements, and adding URL links to other locations such as files or web locations. For more information, see Annotating a Diagram.
To create a sequence diagram using the debugger:
You can disconnect from the debugger at any time by opening the context menu and selecting Disconnect from Debugger. This will preserve the contents of the sequence diagram.
To start the sequence tracer:
Copyright © 1997, 2004, Oracle. All rights reserved.