Lecture 7 - Deployment Diagram
Lecture 7 - Deployment Diagram
Lecture 7 - Deployment Diagram
Object
Oriented
Programming
Lecture
Deployment Diagram
Deployment Diagram
• The main purpose of the deployment diagram is to represent how
software is installed on the hardware component.
• It depicts in what manner a software interacts with hardware to
perform its execution.
• Shows the physical deployment of software components on hardware
nodes.
• It illustrates the mapping of software components onto the physical
resources of a system, such as servers, processors, storage devices,
and network infrastructure
Both the deployment diagram and the component diagram are closely
interrelated to each other as they focus on software and hardware
components.
The component diagram represents the components of a system,
whereas the deployment diagram describes how they are actually
deployed on the hardware.
Purpose of Deployment Diagrams
• 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
Deployment Diagram
Key elements
• Nodes:
• These represent the physical hardware entities where software components
are deployed, such as servers, workstations, routers, etc.
• Components:
• Represent software modules or artifacts that are deployed onto nodes,
including executable files, libraries, databases, and configuration files.
• Artifacts:
• Physical files deployed onto nodes, embodying the actual implementation of
software components, such as executables, scripts, databases, etc.
• Dependencies:
• Reflect relationships or connections between nodes and components,
indicating communication paths, deployment constraints, or other
dependencies.
• Associations:
• Show relationships between nodes and components, signifying that a
component is deployed on a particular node, thus mapping software
components to physical nodes.
• Deployment Specification:
• Describes the configuration and properties of nodes and components,
encompassing hardware specifications, software configurations,
communication protocols, etc.
• Communication Paths:
• Represent channels or connections facilitating communication between
nodes and components, including network connections, communication
protocols, etc.
Notations in Deployment Diagram
• Refers to the symbols, shapes, and conventions used
to represent different elements within the diagram,
like:
• Component: