© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Architectural Modeling Notations.

Slides:



Advertisements
Similar presentations
State Charts Mehran Najafi. Reactive Systems A reactive, event-driven, object is one whose behavior is best characterized by its response to events dispatched.
Advertisements

1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 9 Object, Package, Component and Deployment Diagrams (Based on Fowler, 2004,
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.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
COMPONENT DIAGRAM in UML 2.0 Veronica Carrega
UML Static diagrams. Static View: UML Component Diagram Component diagrams show the organization and dependencies among software components. Component:
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
C OMPONENT & D EPLOYMENT D IAGRAMS Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn.
1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.
Design Patterns in Java Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
Introduction to UML Visual modeling Models and its importance
Component and Deployment Diagrams
Data and Process Modeling
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.
SE-565 Software System Requirements More UML Diagrams.
Unified Modeling Language
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Engineering Design Resolution & Design Principles.
UML Packages & Related Diagrams
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Architectural Design.
Implementation Yaodong Bi. Introduction to Implementation Purposes of Implementation – Plan the system integrations required in each iteration – Distribute.
Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006 An Introduction to.
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.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
Session 26 Modeling the Static View: The Deployment Diagram Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 27, 2011 Presented.
Uml is made similar by the presence of four common mechanisms that apply consistently throughout the language. After constructing or developing the architecture.
Modelling Class T16: Conceptual Modelling – Architecture Image from
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Sequence Diagrams.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
16 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 7 Unified Modeling Language.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Advanced UML Class Diagrams.
CBSE 2014 Modeling Components with UML. Bibliography Modelling components in UML – Main text: Kim Hamilton, Russell Miles, Learning UML 2.0, OReilly,
TAL7011 – Lecture 4 UML for Architecture Modeling.
R R R CSE870: UML Component Diagrams Implementation Diagrams.
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
Component, Deployment and Package Diagrams CSIS3600.
1 Class Diagrams. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are for visualizing, specifying and documenting.
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.
COMPONENT DIAGRAM in UML 2.0 Veronica Carrega. PLAN OF TALK  Introduction about components  Components and component diagrams in uml 2.0  Case study.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Identifying classes, Packages and drawing class Diagrams, Object Diagrams and composite structure diagrams Week 07 1.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Two New UML Diagram Types Component Diagram Deployment Diagram.
R R R CSE870: UML Component Diagrams Implementation Diagrams.
Deployment Diagram.
Method – Notation 8 Hours.
UML Diagrams By Daniel Damaris Novarianto S..
Deployment Diagram.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
COMPONENT & DEPLOYMENT DIAGRAMS
Object-Oriented Analysis and Design
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
Object Oriented Analysis and Design
CBSE 2014 Modeling Components with UML
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Analysis models and design models
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Architectural Modeling Notations

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 2 Objectives  To present several notations for architectural modeling Box-and-line diagrams UML package diagrams UML component diagrams UML deployment diagrams  To present UML common notations Notes Constraints Properties Stereotypes

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 3 Topics  Box-and-line diagrams  UML common notations  Packages and package diagrams  Components and component diagrams  Nodes, artifacts, and deployment diagrams

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 4 Box-and-Line Diagrams  Icons (boxes) connected with lines  No rules governing formation  Used for both static and dynamic modeling  Good idea to include a legend

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 5 Box-and-Line Diagram Example

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 6 Box-and-Line Diagram Heuristics  Make box-and-line diagrams only when no standard notation is adequate.  Keep the boxes and lines simple.  Make symbols for different things look different.  Use symbols consistently in different diagrams.  Use grammatical conventions to name elements.  Don’t mix static and dynamic elements.

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 7 UML Notes and Constraints  Note—A dog-eared box connected to model elements by a dashed line May contain arbitrary text Used for comments and specifications  Constraint—A statement that must be true of entities designated by model elements Written inside curly brackets Beside single model elements Beside a dashed line connecting several model elements

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 8 UML Properties and Stereotypes  Property—Characteristic of an entity designated by a model element List of tagged values in curly brackets Tagged value: tag = value Boolean properties that are true may drop the value and equals sign  Stereotype—A model element given more specific meaning Shown with icons, colors, graphics Stereotype keywords between guillemots, for example «interface»

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 9 Common Elements Example

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 10 UML Dependency Relations  Examples: D uses I, D depends for compilation on I, D imports I  Represented by dependency arrows: stereotyped dashed arrows A dependency relation holds between two entities D and I when a change in I (the independent entity) may affect D (the dependent entity).

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11 Dependency Relation Example

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 12 UML Packages  A UML package is a collection of model elements, called package members.  The package symbol is a file folder Package name in tab if body is occupied, otherwise in the body Members shown in body or using a containment symbol (circled plus sign) Often connected by import or export dependency arrows

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 13 Package Diagrams  A UML package diagram is one whose primary symbols are package symbols.  Useful for Static models of modules, their parts, and their relationships Architectural modeling

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 14 Package Diagram Example

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 15 Software Components  A software component is a reusable, replaceable piece of software.  Component-based development is an approach in which products are designed and built using commercially available or custom-built software components.

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 16 UML Component Diagrams  A UML component is a modular, replaceable unit with well-defined interfaces. Component symbols are rectangles containing names Stereotyped «component» or have component symbol in upper right-hand corner  A UML component diagram shows components, their relationships to their environment, and their internal structure.

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 17 UML Interfaces  A UML interface is a named collection of public attributes and abstract operations. Represented by a stereotyped class symbol (later) Represented by special ball and socket symbols  Note: this use of the term “interface” is different from out previous use as a communications boundary.

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 18 Provided and Required Interfaces  A class or component realizes an interface when it includes its attributes and implements its operations.  Provided interface—Realized by a class or component Represented by a ball or lollipop symbol  Required interface—Needed by a class or component Represented by a socket symbol  The assembly connector wires interfaces together.

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 19 Interface Symbols Example

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 20 Component Internal Structure  Components can contain other components or classes showing how they are built.  A delegation connector ties a component interface to one or more internal classes or components that realize or use the interface. Solid arrows Stereotyped with «delegate»

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 21 Component Internals Example

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 22 Component Diagram Uses  Static models of software components (reusable and replaceable parts)  Model program components Architectural models Detailed design models Relationship to environment  Model internal structure of components

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 23 Logical and Physical Architecture  Logical architecture—The configuration of a product’s major parts and their relationships in abstraction from implementation as code on a real machine  Physical architecture—The realization of a product as code and data files residing and executing on computational resources  UML deployment diagrams model physical architecture.

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 24 UML Artifacts  A UML artifact is any physical representation of data used or produced during development or operation. Examples: Files, documents, program code  Artifacts have types and instances Represented by rectangles containing names Stereotyped «artifact» or have artifact symbol in upper right-hand corner Instances have underlined names, types do not  Artifacts realize logical entities (classes, components, etc.)

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 25 UML Nodes  A UML node is a computational resource. Device—A physical processing unit, such as a computer Execution environment—A software system that implements a virtual machine, such as an operating system or language interpreter  Represented in UML by box or slab symbols Stereotyped with «device» or «execution environment» Types and instances  Types have names  Instance have underlined labels of the form name : type  Name or type may be suppressed, but not both

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 26 Node Symbols Example

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 27 Deployment Diagrams  A UML deployment diagram models computational resources, communication paths among them, and artifacts that reside and execute on them.  Used to show Real and virtual machines used in a system Communication paths between machines Program and data files realizing the system  Residence  Execution

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 28 Deployment Diagram Rules  Computational resources are nodes  Communication paths are solid lines between nodes May be labeled May have multiplicities and role names  Artifact symbols may Appear within node symbols Be listed within node symbols Be connected to node symbols by dependency arrows stereotyped with «deploy»

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 29 Deployment Diagram Example

© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 30 Summary  Box-and-line diagrams are used to make static and dynamic architectural models.  Notes, constraints, properties, and stereotypes can be used in any UML diagram.  Package diagrams are used to model modules and their parts.  Component diagrams are used to model software components.  Deployment diagrams are used to model physical architectures.