今天看了http://www.ivencia.com/softwarearchitect/chapter1/chapter1.htm,写的不错,简单的描述了UML的一些典型用法
看图说话
Use Case
activity diagram
The state diagram is visually similar to an activity diagram, except the activity diagram displays units of work, and the statechart models the states of a dynamically changing system.
state diagram >
Class
Boundary classes are used to specify interfaces between systems, control classes are used as objects to control other class actions, and entity classes are typically data stores
The relationships between practice and employee shows that a practice has one or more members. It shows how a practice can have no manager (if the last one left and has not been replaced), one manager (as is normal), or two managers, in the rare case of joint heads of practice. Manager is identified as a subset of member, implying that a manager is also a member, and defined as a {subset} of member.
OBJECT:实例化的类
Collaboration Diagram
时序图
The component diagram shows dependencies between components in a software system, and the deployment diagram shows the deployment and configuration of the components on physical nodes of the networked computer system
UML里面实际上没有layer的概念,,部署图中实际上反映的是tier的概念
Here is a typical layered design for a business system.
Lets take a look at those layers drawn as a UML equivalent.