Deployment Diagram & Component Diagram
Deployment Diagram & Component Diagram
component diagram
Ignasius Erwin, S.T., M.T.
Deployment Diagram
Show the configuration of runtime processing nodes and all the components that live on them
Often used to model a static deployment view of a system
Is categorized as Structural diagrams
When to use deployment diagram
What existing systems will the newly added system need to interact or integrate with?
How robust does system need to be (e.g., redundant hardware in case of a system failure)?
What and who will connect to or interact with system, and how will they do it
What middleware, including the operating system and communications approaches and protocols, will
system use?
What hardware and software will users directly interact with (PCs, network computers, browsers, etc.)?
How will you monitor the system once deployed?
How secure does the system needs to be (needs a firewall, physically secure hardware, etc.)?
Purpose of deployment diagram
Nodes
represent either hardware devices or software execution environments. They could be connected through
communication paths to create network systems of arbitrary complexity.
Node is shown as a perspective 3-dimensional cube
Node dapat dibagi menjadi 2 kategori:
Device
Execution environment
Berikut adalah contoh dari node:
Node: Hierarchical Node
Hierarchical node dapat dimodelkan dengan menggunakan komposisi. Berikut adalah contoh hierarchical
node dimana web server dan j2ee server di-deploy dalam sebuah device:
Node: Execution environment
A device is a node which represents a physical computational resource with processing capability upon
which artifacts may be deployed for execution.
A device is rendered as a node (perspective, 3-dimensional view of a cube) annotated with keyword
«device».
Contoh stereotypes untuk devices, diantaranya adalah:
«application server»
«client workstation»
«mobile device»
«embedded device»
Node: Execution environment (cont’d)
An execution environment is a (software) node that offers an execution environment for specific types of components that
are deployed on it in the form of executable artifacts
Execution environment dinotasikan sama dengan node dengan perspektif 3 dimensi, namun menggunakan stereotype
«executionEnvironment».
Contoh komponen lain yang termasuk execution environment adalah sebagai berikut:
«OS»
«workflow engine»
«database system»
«J2EE container»
«web server»
«web browser»
Communication path