UML Deployment Diagrams and component diagrams
Basic Overview
Deployment diagrams and component diagrams are important tools for acquiring and describing non-functional requirements.
Network topology Diagram
deployment Diagram
The deployment diagram and network topology diagram are similar to the overall system planning at the physical level, but the deployment diagram is more powerful and can continue to refine the design.
Basic Syntax
Explain:
1, the actual environment of a computer, server and other hardware devices, in the deployment diagram with a node to represent, the node is a cubic rectangle, which is the only one in the UML stereoscopic graphics.
2, if there is a physical connection between nodes and nodes, you can connect with the communication path, write the connection on the path, the common way is the Internet and LAN.
3, the tag is used to describe the configuration of the node details.
4, the product is a software that can run independently.
PS: The deployment diagram can describe the customer's current IT environment architecture and can be used to design a customer-modified IT environment architecture.
Component Diagram
Component diagrams are also called Component diagrams, which are used to describe a module in a system. Basic Syntax
Explain:
1, the component diagram is used to describe a function module in the system.
2, the component diagram can provide services and access to services.
3. There are five kinds of common types of component diagrams:
1. Executable: represents executable files and modules such as EXE.
2. Documentation: Files such as java.
3. Table: Like a table Form in a relational database.
4, Documents: ordinary documents.
5, library: Like the C language function library, Java inside the API interface library.
features of the Components 1, to achieve a certain function, or provide some services.
2, can not be run alone, as part of the system to play a role.
3, is the concept of physics, not the concept of logic.
4, can be individually maintained, can be independently upgraded, replaceable without affecting the entire system.
Comprehensive Case 1:
Comprehensive Case 2: