Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sylnovie Merchant, Ph.D. MIS 161 Spring 2005

Similar presentations


Presentation on theme: "Sylnovie Merchant, Ph.D. MIS 161 Spring 2005"— Presentation transcript:

1 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
MIS 161 Systems Development Life Cycle II Lecture 4: Implementation Diagrams Sylnovie Merchant, Ph.D MIS Spring 2005

2 Types of Implementation Diagrams
Models the physical aspects of an OO system Models the static view Component Diagrams Deployment Diagrams Sylnovie Merchant, Ph.D MIS Spring 2005

3 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Component Diagrams A component is a physical piece of system used during implementation Software code Business documents A component diagram shows a set of components and the relationships among them Typically maps to one or more classes, interfaces, and collaborations Sylnovie Merchant, Ph.D MIS Spring 2005

4 Examples of Components
GUI Software code Source, executable, or binary Database Component Name Sylnovie Merchant, Ph.D MIS Spring 2005

5 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Dependencies Relationships between two elements, where a change to the one element (independent element, a.k.a. client) affects the other element (dependent element, a.k.a. supplier or source) Sylnovie Merchant, Ph.D MIS Spring 2005

6 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Dependencies Show who needs who Appear as dashed-arrows on implementation diagrams Show how components communicate with each other Direction indicates knowledge in the communication Sylnovie Merchant, Ph.D MIS Spring 2005

7 Simple Component Diagram
Access Database GUI Component Sylnovie Merchant, Ph.D MIS Spring 2005

8 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Interfaces Appear as circles on implementation diagrams Specify service offered by the component Represent externally visible behavior of the component Sylnovie Merchant, Ph.D MIS Spring 2005

9 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Component Diagram Update Interface Access Database Dependency GUI Component Sylnovie Merchant, Ph.D MIS Spring 2005

10 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Deployment Diagrams A diagram that shows a set of nodes and the associations between them. Associations between nodes generally represent physical connections, such as those involving the Internet Sylnovie Merchant, Ph.D MIS Spring 2005

11 What Deployment Diagrams Show
Configuration of run-time processing elements Software components, processes, and objects that live during run time A set of nodes and the association and dependencies among them Sylnovie Merchant, Ph.D MIS Spring 2005

12 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Nodes Are usually represented by some kind of computational unit Are typically pieces of hardware with memory and processing capability Nodes Sylnovie Merchant, Ph.D MIS Spring 2005

13 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Nodes As a specific instance they are listed with a name, colon, and node type Syntax name ':' node-type Example Joe'sMachine:PC Ask Dr. Merchant if we need to initial caps Sylnovie Merchant, Ph.D MIS Spring 2005

14 Example of Nodes and Associations
Joe’s PC Printer <<USB>> Sylnovie Merchant, Ph.D MIS Spring 2005

15 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
UML Notation Joe’sMachine:PC :GUI Sylnovie Merchant, Ph.D MIS Spring 2005

16 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Deployment Diagram AdminServer:HostMachine :Data- base Update Joe’sMachine:PC :GUI Sylnovie Merchant, Ph.D MIS Spring 2005

17 Method Specifications
Sylnovie Merchant, Ph.D MIS Spring 2005

18 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Method Specification A description of the methods in the individual classes Provides detail for the programmers Instructions on how to write the code Provide one specification for each method Sylnovie Merchant, Ph.D MIS Spring 2005

19 Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Syntax No formal syntax specification General information Events Message Passing Algorithm Specification Method Specification Form Example Sylnovie Merchant, Ph.D MIS Spring 2005


Download ppt "Sylnovie Merchant, Ph.D. MIS 161 Spring 2005"

Similar presentations


Ads by Google