0% found this document useful (0 votes)
125 views12 pages

Deployment Diagram & Component Diagram

A deployment diagram shows how software components are deployed across physical infrastructure like hardware nodes. It models the runtime configuration of a system. A deployment diagram contains nodes that represent hardware devices or software execution environments. Nodes are connected by communication paths and software components are deployed onto nodes. The deployment diagram is used to plan system architecture and document how software is deployed across hardware.
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)
125 views12 pages

Deployment Diagram & Component Diagram

A deployment diagram shows how software components are deployed across physical infrastructure like hardware nodes. It models the runtime configuration of a system. A deployment diagram contains nodes that represent hardware devices or software execution environments. Nodes are connected by communication paths and software components are deployed onto nodes. The deployment diagram is used to plan system architecture and document how software is deployed across hardware.
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/ 12

Deployment 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

 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: Node

 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

 Execution environment is usually part of a general node or «device» which represents the physical


hardware environment on which this execution environment resides. Execution environments can
be nested (e.g., a database execution environment may be nested in an operating system execution
environment).
Node: Device

 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

 A communication path is association between two deployment targets, through which they are able to


exchange signals and messages.
 Communication path dapat digunakan untuk merepresentasikan hubungan FISIK antara dua device node
(misal: menggunakan ethernet cable untuk menghubungkan dua node device)
 Communication path juga dapat digunakan untuk merepresentasikan hubungan antara dua buah device
yang berkomunikasi menggunakan protocol tertentu (missal: TCP/IP)
Communication path
Deployment

Deployment sebuah software di dalam sebuah


hardware dapat dinotasikan seperti gambar-
gambar di samping:
Gambar pertama menunjukkan artifact
portfolio.war di-deploy pada dua jenis server.
Gambar kedua menunjukkan notasi yang lebih
sederhana dibandingkan dengan gambar
pertama. Kekurangan nya adalah, anda tidak
bisa menggambarkan artifact portfolio.war
yang di-deploy pada dua server.

You might also like