Mot So So Do Khac (Deployment Diagram)
Mot So So Do Khac (Deployment Diagram)
In the UML, you use class diagrams and component diagrams to reason about the structure of
your software. You use sequence diagrams, collaboration diagrams, statechart diagrams, and
activity diagrams to specify the behavior of your software. At the edge of your system's
software and hardware, you use deployment diagrams to reason about the topology of
processors and devices on which your software executes.
Node
A node is a run-time physical object that represents a computational resource, generally having
memory and processing capability. You can model node types and node instances. You may
model the component instances that run or live on a node by drawing them within the node.
You may model which nodes communicate with one another using the Connection relationship
line.
Dependency
A dependency indicates that one model element (source) depends on another model element
(target), such that a change to the target element may require a change to the source element
in the dependency. In a deployment diagram, you can use the dependency relationship to
show the capability of a node type to support a component type. You may also use the
relationship to show the dependency between component types.
Connection
A connection depicts the communication path used by the hardware to communicate usually
indicates the method i.e. TCP/IP.
Artifact
Artifacts represent concrete elements in the physical world that are the result of a development
process. Examples of artifacts are executable files, libraries, archives, database schemas,
configuration files, etc.
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.
For example, you'll want to model special devices, such as credit card readers, badge readers, and
display devices other than monitors, because their placement in the system's hardware topology are
likely to be architecturally significant.
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.
Deployment Planning
A Deployment model can be developed by following the steps below.