0% found this document useful (0 votes)
79 views

Presentation For Component & Deployment

The document describes a component diagram and deployment diagram for software engineering tools and practices. It provides details on what each diagram is used for, including visualizing the components and relationships within a system for a component diagram and modeling the physical deployment of software onto hardware for a deployment diagram. Examples of each diagram type are also included to demonstrate their notation and purpose.

Uploaded by

abraham teshome
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Presentation For Component & Deployment

The document describes a component diagram and deployment diagram for software engineering tools and practices. It provides details on what each diagram is used for, including visualizing the components and relationships within a system for a component diagram and modeling the physical deployment of software onto hardware for a deployment diagram. Examples of each diagram type are also included to demonstrate their notation and purpose.

Uploaded by

abraham teshome
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19

Haramaya University

College of Computing and Informatics


Department of Software Engineering

SOFTWARE ENGINEERING TOOLS AND PRACTICES


COMPONENT AND DEPLOYMENT DIAGRAM

BY GROUP : ANONYMOUS
July 29, 2021
1
Contents

➔ Component Diagram
➔ Deployment Diagram
2

Component Diagram
3
What is UML Component Diagram ?

● A component diagram is used to break down a large object-oriented system


into the smaller components, so as to make them more manageable.
● It models the physical view of a system such as executables, files, libraries,
etc. that resides within the node.
● It visualizes the relationships as well as the organization between the
components present in the system. It helps in forming an executable system. A
component is a single unit of the system, which is replaceable and executable.
● The implementation details of a component are hidden, and it necessitates an
interface to execute a function. It is like a black box whose behavior is
explained by the provided and required interfaces.
4
Notation of Component Diagram

A. Component

B. Interface

C. Dependency
5
Purpose of Component Diagram
• Since it is a special kind of a UML diagram, it holds distinct purposes. It
describes all the individual components that are used to make the
functionalities.
• It visualizes the physical components inside the system. The components can
be a library, packages, files, etc.
• The component diagram also describes the static view of a system, which
includes the organization of components at a particular instant. The collection
of component diagrams represents a whole system.
6
Purpose of Component Diagram (2)
● The main purpose of the component diagram are enlisted below:
○ It visualize each component of a system.
○ It constructs the executable by incorporating forward and reverse engineering.
○ It describes the relationships and organization of components.
7
Why to use Component Diagram ?

• In UML, the component diagram describes the behavior and organization of


components at any instant of time. The system cannot be visualized by any
individual component, but it can be by the collection of components.
• Following are some reasons for the requirement of the component diagram:
• It describe the components of a system at the runtime.
• It is helpful in testing a system.
• It shows the links between several connections.
8
When to use Component Diagram ?

Following are some reasons, which tells when to use component diagram :
• To represents various physical components of a system at runtime. It is helpful
in visualizing the structure and the organization of a system.
• To describes how individual components can together form a single system.
• To divide a single system into multiple components according to the
functionality.
• To represent the component organization of the system.
9
How to draw Component Diagram ?

1.Decide on the purpose of the diagram


2.Add components to the diagram, grouping them within other components if
appropriate
3.Add other elements to the diagram, such as classes, objects and interface
4.Add the dependencies between the elements of the diagram
10
Example of Component Diagram
• A component diagram for an online shopping system is given below:
11

Deployment Diagram
12
What is UML Deployment Diagram ?

• The deployment diagram visualizes the physical hardware on which the


software will be deployed. It portrays the static deployment view of a system.
It involves the nodes and their relationships.
• It assures how software is deployed on the hardware. It maps the software
architecture created in design to the physical system architecture, where the
software will be executed as a node. Since it involves many nodes, the
relationship is shown by utilizing communication paths.
13
Symbol and notation of Deployment Diagram
• The deployment diagram consist of the following notations:

a. Node

b. An artifact

c. An interface

d. Component
14
Purpose of Deployment Diagram

• The main purpose of deployment diagram are :-


• They show the structure of the run-time system
• They capture the hardware that will be used to implement the system and the links
between different items of hardware.
• They model physical hardware elements and the communication paths between
them
• They can be used to plan the architecture of a system.
• They are also useful for Document the deployment of software components or
nodes.
15
When to use Deployment Diagram
• The deployment diagram is mostly employed by network engineers, system
administrators, etc. with the purpose of representing the deployment of
software on the hardware system.
• Deployment diagrams can be used for the followings:
• To model the network and hardware topology of a system.
• To model the distributed networks and systems.
• Implement forwarding and reverse engineering processes.
• To model the hardware details for a client/server system.
• For modeling the embedded system.
16
How to draw Deployment Diagram ?

1. Firstly, identify the nodes that represent your system's client and server
processors and then highlight those devices that are relevant to the behavior
of your system.
2. Provide visual cues for these processors and devices via stereotyping.
3. Model the topology of these nodes in a deployment diagram.
4. Similarly, specify the relationship between the components in your system's
implementation view and the nodes in your system's deployment view.
17
Example of Deployment Diagram
● A Deployment Diagram for Corporate Distributed System
Component Diagram

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy