Component and Deployment Diagrams

This tutorial presents the component and deployment diagrams of the Unified Modeling Language (UML). A component diagram depicts how components are wired together to form larger components and or software systems. They are used to illustrate the structure of arbitrarily complex systems. A deployment diagram models the physical deployment of artifacts on nodes. To describe a web site, for example, a deployment diagram shows what hardware components (“nodes”) exist (e.g., a web server, an application server, and a database server), what software components (“artifacts”) run on each node (e.g., web application, database), and how the different pieces are connected (e.g. JDBC, REST, RMI).