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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SESSION<br />

25<br />

Modeling the Static View:<br />

The Component Diagram<br />

Session Checklist<br />

✔ Describing the purpose and function of the Component diagram<br />

✔ Defining the notation for Component diagrams<br />

✔ Creating a Component diagram for the case study<br />

Once the logical design is completed, the next step is to define the physical implementation<br />

of your design. The physical implementation must address three different problems:<br />

the software, the hardware, and the integration of the two.<br />

Explaining the Component Diagram<br />

The Component diagram models the physical implementation of the software. The<br />

Deployment diagram models the physical architecture of the hardware (the Deployment diagram<br />

is covered in Session 26). Combined, they model the integration and distribution of<br />

your application software across the hardware implementation.<br />

Just as Class diagrams describe the organization and intent of your software design, components<br />

represent the physical implementations of your software design. The purpose of the<br />

Component diagram is to define software modules and their relationships to one another.<br />

Each component is a chunk of code that resides in memory on a piece of hardware. Each<br />

component must define an interface, which allows other components to communicate with<br />

that component. The interface and the internal implementation of the component are<br />

encapsulated in the classes that make up the component.<br />

The <strong>UML</strong> groups components into three broad categories:<br />

Deployment components, which are required to run the system<br />

Work product components including models, source code, and data files used to create<br />

deployment components<br />

Execution components, which are components created while running the application

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

Saved successfully!

Ooh no, something went wrong!