8MISCELLANEOUS UML DIAGRAMS
This chapter finishes up the book’s discussion of UML by describing five additional diagrams that are useful for UML documentation: component, package, deployment, composite structure, and statechart diagrams.
8.1 Component Diagrams
UML uses component diagrams to encapsulate reusable components such as libraries and frameworks. Though components are generally larger and have more responsibilities than classes, they support much of the same functionality as classes, including:
- Generalization and association with other classes and components
- Operations
- Interfaces
UML defines components using a rectangle with the «component» ...
Get Write Great Code, Volume 3 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.