Where to use Component Diagrams?
We have already described that component diagrams are used to visualize the static implementation view of a system. Component diagrams are special type of UML diagrams used for different purposes.
These diagrams show the physical components of a system. To clarify it, we can say that component diagrams describe the organization of the components in a system.
Organization can be further described as the location of the components in a system. These components are organized in a special way to meet the system requirements.
As we have already discussed those components are libraries, files, executables etc. Now before implementing the application these components are to be organized. This component organization is also designed separately as a part of project execution.
Component diagrams are very important from implementation perspective. So the implementation team of an application should have a proper knowledge of the component details.
Now the usage of component diagrams can be described as:
• Model the components of a system.
• Model database schema.
• Model executables of an application.
• Model system's source code.