Top Banner
Sequence Diagrams
15

Sequence Diagrams

Jan 14, 2016

Download

Documents

Oki

Sequence Diagrams. Introduction. A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object , and the order in which the invocation occurs is captured in a Sequence diagram. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sequence Diagrams

Sequence Diagrams

Page 2: Sequence Diagrams

Introduction

• A Sequence diagram depicts the sequence of actions that occur in a system.

• The invocation of methods in each object, and the order in which the invocation occurs is captured in a Sequence diagram.

• This makes the Sequence diagram a very useful tool to easily represent the dynamic behavior of a system.

• A Sequence diagram is two-dimensional in nature. On the horizontal axis, it shows the life of the object that it represents, while on the vertical axis, it shows the sequence of the creation or invocation of these objects.

Page 3: Sequence Diagrams
Page 4: Sequence Diagrams
Page 5: Sequence Diagrams
Page 6: Sequence Diagrams
Page 7: Sequence Diagrams

Synchronous vs. Asynchronous calls

Page 8: Sequence Diagrams
Page 9: Sequence Diagrams
Page 10: Sequence Diagrams
Page 11: Sequence Diagrams

Example 2: Courseware Management System

See the address book example here:http://www.math-cs.gordon.edu/courses/cs211/AddressBookExample/Sequences.html

Page 12: Sequence Diagrams

Example 3: Course Enrolment System

Page 13: Sequence Diagrams

Example 4:Product Order

Page 14: Sequence Diagrams

Example 5: Search Engine

Page 15: Sequence Diagrams

QUESTIONS