1 RNDS Deployment, Collaborations and Sequences CS 236700: Software Design Winter 2004-2005/T6.

Slides:



Advertisements
Similar presentations
1 RNDS: Use cases CS : Software Design Winter /T3.
Advertisements

UML Diagrams Jung Woo. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
Object-Oriented Analysis and Design
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 5: Restaurant.
1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.
1 Tutorials plan CS Tutorials plan. 2 Week by week W1+W2: Modularity Code generation via Rose Writing use cases Drawing use-cases Relationships.
Essentials of interaction diagrams Lecture Outline Collaborations Interaction on collaboration diagrams Sequence diagrams Messages from an object.
Component and Deployment Diagrams
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
SE-565 Software System Requirements More UML Diagrams.
An Introduction to Rational Rose Real-Time
Unified Modeling Language
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
2005/05/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
Class, Sequence and UML Model.  Has actors and use cases.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Interaction diagrams Sequence and collaboration diagrams.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
1 On to Object Design Chapter 14 Applying UML and Patterns.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Session 9 Component and Deployment. OOAD with UML / Session 9 / 2 of 17 Review State Diagrams represent the software entities in terms of their states.
UML Review of diagram types. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson, and.
TAL7011 – Lecture 4 UML for Architecture Modeling.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
1 The Unified Modeling Language. 2 The Unified Modeling Language (UML) is a standard language for writing software blueprints. The UML may be used to.
Interaction Diagrams Interaction Diagrams allow the designer to show how groups of objects collaborate in some behavior. –Interaction Diagrams will show.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Design Jon Walker. More UML ● What is UML again?
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Introduction to OOAD and the UML
UML / UML 2.0 Diagrams (Part I) 1. Overview of the 13 diagrams of UML Structure diagrams 1.Class diagram 2.Composite structure diagram (*) 3.Component.
 Building Block Building Block  Things in the UML Things in the UML  Structural Things Structural Things  Behavioral Things Behavioral Things  Grouping.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
Identifying classes, Packages and drawing class Diagrams, Object Diagrams and composite structure diagrams Week 07 1.
UML - Development Process 1 Software Development Process Using UML.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
Collaboration diagrams. Deployment diagrams. Lesson 4.
Use Case, Component and Deployment Diagrams University of Sunderland.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Basic Concepts of Software Architecture. What is Software Architecture? Definition: – A software system’s architecture is the set of principal design.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
Deployment Diagram.
Introduction to UML.
UML Diagrams By Daniel Damaris Novarianto S..
Component and Deployment
Evolution of UML.
Deployment Diagram.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
COMPONENT & DEPLOYMENT DIAGRAMS
Object-Oriented Analysis and Design
Unified Modeling Language
UML Diagrams Jung Woo.
UML dynamic Modeling (Behavior Diagram)
Unified Modeling Language
Object Interaction Diagrams
Analysis models and design models
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Presentation transcript:

1 RNDS Deployment, Collaborations and Sequences CS : Software Design Winter /T6

2 Reminder: Homework bonus program  Report a bug  Report a programming challenge

3 RNDS: The story so far  Problem description  SRS Use case model  SDD Class design Sequence, Deployment Detailed class design  Coding Design patterns

4  Deployment (in design) The configuration of the running system in a real-world environment Show relationships between Nodes  What is a node? A “location” where run-time entities “live” Run-time entities: objects, components Has a memory Usually has processing capabilities  Nodes usually represent: Executables (processes) Distinct hardware (workstations, I/O devices) Deployment diagram (1/2)

5  Deployment diagram Shows dependency between nodes In most cases shows instances of nodes Analogous to a diagram of running objects Nodes are typically singletons/anonymous It is possible (but not common) to show types of nodes Analogous to class diagram Relevant components/objects inside a node are usually shown  Notation A network of Node symbols Edges between nodes => communication relationship Dashed arrows => dependency between components Preferably thru interface Deployment diagram (2/2)

6  What are components? A replaceable part of the system Provides implementation Conforms to a set of interfaces  Components vs. classes Every class is (usually) a trivial component Usually components include several classes/packages Not always coherent Components

7  The major tradeoff: Simplicity vs. Modularity  Few components => System is simple “Everybody” knows each other Usually hard-coded within constructors On the other hand: poor modularity  Many components => System is complex Implementing inter-component relationship is difficult Techniques for overcoming the problem: Unique identifiers Interfaces Central registry Configuration values processed in run-time On the other hand: the system is highly modular Components considerations

8 Deployment diagram (sample)

9 Deployment diagram (RNDS)  Devices: RF, GPS  Processes: RNDS station

10 Package Diagram

11 Collaborations  What is a collaboration? An arrangement of objects within a context  Properties The collaboration is aimed at achieving some goal Object (possibly) fulfill a predefined role A single object may fulfill more than one role Roles are only meaningful within their context A parameterized collaboration is a Pattern  Collaboration diagram Shows Interaction between the participating objects Relationship are indicated by arrows (messages, composition, …) Time is indicated by “sequence number”

12 Collaboration Diagram

13  Describes how groups of objects interact  Shows messages passed (between objects) over time  Properties Captures the behavior of a single scenario The most popular way for representing a use-case Actually shows the same information as a collaboration diagram  Sequence diagrams (SD) vs. Collaboration Diagrams (CD) SD: Shows time clearly; object relationships are implicit CD: Shows object relationships clearly; time has no visual representation Sequence Diagrams

14 Sequence Diagram: Adding a message  Adding actors, objects: Drag-and-drop

15 Sequence Diagram: GPS update  Do you like this design?