Common Modeling Techniques
- Modeling Processors and Devices
- Modeling the Distribution of Components
Modeling Processors and Devices
To model processors and devices,
- Identify the computational elements of the system's deployment view and model each as a node
- If these elements represent generic processors and devices, then stereotype them as such,
- If they are kinds of processors and devices that are part of the vocabulary of your domain, then specify an appropriate stereotype with an icon for each
- As with class modeling, consider the attributes and operations that might apply to each node
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhDiVsqc3G2qaAIx6GcNQVyhsBTYMs_91eQccRL-qLxEbluYl2XB0FDIQ2CgG1jxOg2fGyNGwP0PdLOtQrs1ySJgG6Ukr7ExWPIMqjSBO8jgF-LNNerCjfSW2-RhqpgS7WNfRPn9x3ouqA/s1600/ARCHITECTURAL+MODELING.png)
Modeling the Distribution of Components
To model the distribution of artifacts,
- For each significant artifact in your system, allocate it to a given node
- Consider duplicate locations for components
- Some components (such as specific executable's and libraries) may reside on multiple nodes simultaneously
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA_MIxsTm-elJnmBz0ORc8ufPviFsF6GJqU2AymQeiziYquWoYNjGDYjTNxnHHKiSiVcaM28oWeBf1A78WnCFrzxAsUoPnKt08Aab46Bt1uh1svRYO4_rGCVWUWD6K9QOoXMEYjzxHQTbC/s1600/ARCHITECTURAL+MODELING.png)
- Illustrate this allocation in one of the three ways:
- ⃝Use dependency relationships, connect each node with the artifacts it deploys
- ⃝List the component deployed on a node in an additional compartment Mention it in each node's specification which may not be shown explicitly