UML Deployment Diagrams
An Introduction
Prof. David Bernstein
James Madison University
Computer Science Department
bernstdh@jmu.edu
Introduction
Purpose of Deployment Diagrams:
To model a physical architecture
Elements:
Artifacts - a physical manifestation of a non-software element of a software system (e.g., files)
Components - a software element of a software system (e.g., an application)
Nodes - computational resources (i.e., a physical device or an execution environment such as a virtual machine)
Visual Representation of Artifacts and Components
Artifacts:
Components:
Visual Representation of Nodes
In General:
Common Stereotypes:
<<device>>
<<execution environment>>
A description of the computational resource
Visual Representation of Relationships
Communication Paths:
A solid line between elements
Static Deployment:
An artifact/component is placed in a node
Dynamic Deployment:
A dependency arrow (a dashed arrow with the stereotype <<deploy>>) connects the artifact/component to the node
An Example