UML Final Review question--2.9:uml Deployment Diagram

Source: Internet
Author: User

Additional questions: Deployment diagram

Key concepts:

1. The deployment diagram shows how specific software artifacts, such as executables, are assigned to a compute node (something that has a processing service). The deployment diagram represents the deployment of the software elements on the physical architecture , as well as the communication between the physical elements (usually over the network).

2. The most basic element in the deployment diagram is the node.

There are two types of nodes:

A. device node -a physical (electronic digital) computing resource that performs software, such as a typical computer or mobile power supply, with processing and storage capabilities.

• Devices ("Device"): nodes that have no processing power, at least those that do not care about their processing power. such as printers, IC card reader, if our system does not consider their internal chip, it can be modeled as a device

B. execution Environment node -a software computing resource that runs on an external node (such as a computer) that can hold and execute other executable software elements itself.

• Processor ("process"): a node with processing power that can execute a component

For example, the operating system (OS) is the software that accommodates and executes the operating procedure.

    The virtual machine (VM) accommodates and executes the program.

    The database engine (such as PostgreSQL) accepts SQL statements and executes them, and accommodates and executes internal stored procedures (written in Java or other proprietary languages)

    A web browser accommodates and executes JavaScript, Java Applets, Flash, and other executable elements.

    Workflow engine .

    servlet container or EJB container .

  node properties and Operations : You can provide a node with the processor speed, memory capacity, the number of network cards and other properties, you can provide a startup, shutdown and other operations

3. Communication path:

A generic connection between nodes represents a communication path that can be tagged with a protocol. They usually represent a network connection. To better represent the relationship between the two nodes, we can use constraints to describe the connection. The constraint is represented as {}.

4. Typically in UML, the name of the specific instance is underlined, and the class, not the instance, is represented if there is no underscore. Note that the rule has an exception for instances in the interaction diagram, and the instance is represented by a lifeline diagram, with no underscore in its name.

Typically, in any case, we can see the object instance name underlined in the deployment diagram . However, in the UML specification, the underscore in the deployment diagram can be ignored.

5. Objects (Artifact)

Objects are the product of the software development process , including process models (such as use case diagrams, design drawings, etc.), source code, executable programs, design documents, test reports, requirements prototypes, user manuals, and so on. Object representation below, with keyword «artifact» and document icon

6. links and differences between nodes and components:

There are many similarities between the concepts and components of a node, such as having multiple names, which can participate in dependency, generalization, and association relationships, can be nested, can have instances, and can participate in interaction.

But there is a clear difference between them: artifacts are the things that participate in the execution of the system , and nodes are the things that perform the components , the components represent the physical packaging of the logical elements , and the nodes represent the physical deployment of the components .

Draw points:

Specific method: http://www.cnblogs.com/ywqu/archive/2009/12/21/1628545.html

Http://www.cnblogs.com/springyangwc/archive/2011/12/26/2302238.html

Http://www.cnblogs.com/doubleyan/archive/2009/11/24/2164889.html

Precautions:

1. Node: Classified topics have been told

According to the information given in the diagram, the deployment diagram corresponds to the picture.

2. the operating system and other information are represented in the node as {os=xxxx}

Answers to questions:

UML Final Review question--2.9:uml Deployment Diagram

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.