Component Deployment Diagram
Component Deployment Diagram
Tempus
McConnell
Course Plan till the end of the semester
Notes:
• Week#13&14 will cover Service-
Oriented Engineering and Service-
Oriented Architecture(SOE/SOA)-
Sommerville Ch18.
Description Separates presentation and interaction from the system data. The system is
structured into three logical components that interact with each other. The
Model component manages the system data and associated operations on
that data. The View component defines and manages how the data is
presented to the user. The Controller component manages user interaction
(e.g., key presses, mouse clicks, etc.) and passes these interactions to the
View and the Model. See Figure 6.3.
Example Figure 6.4 shows the architecture of a web-based application system
organized using the MVC pattern.
When used Used when there are multiple ways to view and interact with data. Also used
when the future requirements for interaction and presentation of data are
unknown.
Advantages Allows the data to change independently of its representation and vice versa.
Supports presentation of the same data in different ways with changes made
in one representation shown in all of them.
Disadvantages Can involve additional code and code complexity when the data model and
interactions are simple.
14/06/2025 Chapter 6 Architectural Design 5
The organization of the Model-View-Controller
14/06/2025 16
Components of Component-Based Diagram:
Component
• Nodes: Physical hardware entities where software components are deployed, such as
servers, workstations, routers, etc.
• Components: Represent software modules
• Artifacts: These can include executable files, scripts, databases, and more.
• Dependencies: Relationships or connections between nodes and components
• Associations: Show relationships between nodes and components
• Deployment Specification: This outlines the setup and characteristics of nodes and
components, including hardware specifications, software settings, and communication
protocols.
• Communication Paths: Represent channels or connections facilitating
communication between nodes and components and includes network connections,
communication protocols, etc.
UML Deployment Diagram: Component
• In this example, one node represents the client’s Android device. The
components represent the software installed on these devices, with
the banking application being the specific component on the Android
device.
• The diagram also shows how the user connects to the banking server through
the web.
• This means the user opens the banking app on their Android device, which
then talks to the application server online to carry out tasks like checking
account balances or transferring money.
• Overall, the deployment diagram visually illustrates how software
components are set up on hardware nodes and how they interact to
provide the necessary functions to the user.
Thank you for
your attention.
Tempus