Component Diagram. Component diagram Show the structural relationships between components of a system Depicts how components are wired together to form.

Slides:



Advertisements
Similar presentations
1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 9 Object, Package, Component and Deployment Diagrams (Based on Fowler, 2004,
Advertisements

Modeling Main issues: What do we want to build How do we write this down.
Deployment Diagrams Depicts a static view of the run-time configuration of Nodes.
Modeling Main issues: What do we want to build How do we write this down ©2008 John Wiley & Sons Ltd. vliet.
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
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Architectural Modeling Notations.
UML Static diagrams. Static View: UML Component Diagram Component diagrams show the organization and dependencies among software components. Component:
C OMPONENT & D EPLOYMENT D IAGRAMS Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn.
UML – Class Diagrams.
1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Component and Deployment Diagrams
The Need for Packages How do you break down a large system into smaller systems? Structured methods use functional decomposition Functions represent something.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
SWE Introduction to Software Engineering
Course Instructor: Aisha Azeem
Unified Modeling Language
Chapter 13 Starting Design: Logical Architecture and UML Package Diagrams.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
An Introduction to Software Architecture
ITEC 370 Lecture 10 Design. Review Design –Why is it part of the process? –Who is the audience for design?
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.
Unified Modeling Language, Version 2.0
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
Architectural Design Based on Chapter 11 of the textbook [SE-8] Ian Sommerville, Software Engineering, 8t h Ed., Addison-Wesley, 2006 and on the Ch11 PowerPoint.
Modelling Class T16: Conceptual Modelling – Architecture Image from
Modeling Component-based Software Systems with UML 2.0 George T. Edwards Jaiganesh Balasubramanian Arvind S. Krishna Vanderbilt University Nashville, TN.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
Documenting Software Architectures 1.Uses and Audiences for Architecture Documentation Architecture documentation serves as a means of education Architecture.
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.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Technology Layer. Technology Layer Metamodel Technology Layer Concepts.
NETWORKING COMPONENTS Buddy Steele Assignment 3, Part 1 CECS-5460: Summer 2014.
Component, Deployment and Package Diagrams CSIS3600.
Unified Modelling Language (UML) Software Engineering Lab. Sharif University of Technology.
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.
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
1 Unified Modeling Language, Version 2.0 Chapter 2.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 32. Review Behavioral Patterns – Observer Pattern – Chain of command.
Computer Science 340 Software Design & Testing Software Architecture.
Object Oriented Analysis and Design 1 Chapter 9 From Design to Implementation  Implementation Model  Forward, Reverse, and Round-Trip Engineering  Mapping.
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.
Use Case, Component and Deployment Diagrams University of Sunderland.
Two New UML Diagram Types Component Diagram Deployment Diagram.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
R R R CSE870: UML Component Diagrams Implementation Diagrams.
UML(Unified Modeling Language)
Course Outcomes of Object Oriented Modeling Design (17630,C604)
COMPONENT & DEPLOYMENT DIAGRAMS
Component and Deployment Diagrams
University of Central Florida COP 3330 Object Oriented Programming
Component and Deployment Diagrams
Object Oriented Analysis and Design
CBSE 2014 Modeling Components with UML
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
More Model Elements.
Unified Modelling Language
Appendix A Object-Oriented Analysis and Design
An Introduction to Software Architecture
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Appendix A Object-Oriented Analysis and Design
Chapter 10 – Component-Level Design
Presentation transcript:

Component Diagram

Component diagram Show the structural relationships between components of a system Depicts how components are wired together to form larger components and or software systems Has a higher level of abstraction than a class diagram Created in DESIGN step Component Building block- usually implemented by one or more classes(or objects) at runtime Large design unit - Can be implemented as replaceable module May use “Interface” – replaceable or reusable Provides interface to another component

Component Diagram presents an early understanding of the overall system that is being built Provide architectural overview to Implementation staff and stakeholders Improve the level of understanding and communication Help Implementation staff to make roadmap for implementation, and to divide/distribute workload

Modeling components and their relationship Clients can envision the structure and the functionality in the finished system Developers have a structure to work toward Technical writers who have to provide documentation and help files can understand what they’re writing about Your are ready for reuse

Component Notation (in UML 1.x) Shows relationship between two components. In UML 1.4, a component is represented as a rectangle with two smaller rectangles protruding from its left side.

Component Notation (in UML 2.x) Interface the formal contract of services the component provides to its consumers/clients component offering service : uses provided interface Component accessing service : uses required interface

interface A set of operations that allow you to access a class’s behavior a kind of a class that only has operations (with no implementation) Classes inherit operations of interface and implement the interface

realization Relationshipe between interface and class or between interface and component Defining Object Implementing Object realization

Dependency An object or component use/execute another object or component

Provided/Required Interface the Order component provides two interfaces: OrderEntry and AccountPayable, and the Order component requires the Person interface

Interface realization

< An interface Key (i) is realized by a component Calculator and (ii) is used by a component Robot>

Component and Interface AWTEventMulticaster > ItemListener itemStateChanged() AWTEventMulticaster ItemListener AWTEventMulticaster ItemListener checkbox AWTEventMulticaster > ItemListener itemStateChanged() checkbox Interface is defined in a rectangle realizationdependency

Component’s internal structure When a component is composed of other components port Port : ports provide a way to model how a component's provided/required interfaces relate to its internal parts the OrderEntry port delegates to the Order component's OrderEntry interface for processing

Deployment Diagram

Showing the structure of physical system How the pieces of hardware connect to each other Node Hardware Item (computing resource) Represented as cube Connection Connect two nodes Doesn’t need to be wire or cable Useful for modeling network

Connecting two devices

Deployment Diagram of home system

Deployment diagram example

Example

example