September 2003
Intermediate to advanced
208 pages
4h 15m
English
A debate that’s always ranged large in the OO community is what the difference is between a component and any regular class. This is not a debate that I want to settle here, but I can show you the notation the UML uses to distinguish between them.
UML 1 had a distinctive symbol for a component (Figure 14.1). UML 2 removed that icon but allows you to annotate a class box with a similar-looking icon. Alternatively, you can use the «component» keyword.

Figure 14.1. Notation for components
Other than the icon, components don’t introduce any notation that we haven’t already seen. Components are connected through implemented ...