01.01.2015 Views

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

266<br />

Sunday Morning<br />

Deployment diagrams can also function like network diagrams to illustrate the make-up<br />

of your network. The object-level Deployment diagram can function as a requirements specification<br />

for each node, defining the memory, processor, and storage requirements.<br />

Mapping Software Components to an Architecture<br />

The more common technique for modeling the components on a node is to combine the two<br />

physical diagram notations for components and nodes. Model the component icons inside<br />

the expanded node to show containment. <strong>To</strong> show the logical communication between the<br />

components, draw a dashed dependency arrow just like you did on the Component diagram.<br />

In Figure 26-3, the orderentry.exe resides on the server but is loaded onto the client at<br />

runtime. The stereotype specifies this runtime migration. After the executable<br />

is loaded, it depends on the orderproc.exe for help. Note that I could have drawn this at the<br />

class level just as easily. But here I am modeling the fact that the logical design represented<br />

by the classes has, in fact, been implemented in this physical architecture.<br />

<br />

dept234:Server<br />

<br />

orderdesk3:Client<br />

<br />

orderproc.exe<br />

<br />

<br />

orderentry.exe<br />

<br />

orderentry.exe<br />

<br />

Figure 26-3<br />

Combined Component and Deployment diagrams<br />

Applying the Combined Diagrams to the Case Study<br />

In this section, you’ll build the combined Deployment and Component diagram for the case<br />

study step by step.<br />

1. The hardware architecture consists of three kinds of devices: the client PC, a<br />

middle-tier server, and a database server. Draw three nodes, one for each kind of<br />

hardware resource (see Figure 26-4).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!