11.2. Subsystem Specification

When modeling subsystems, it's useful to create a diagram illustrating the interaction between clients and the subsystem as well as the structure and behavior of the internal elements, which we'll refer to as the “external” and “internal subsystem specifications,” respectively. When specifying a subsystem using the UML, it's important that we use both behavioral and structural diagrams, just as when we specify the design for a system. Let's examine an example using our payroll system discussed throughout the book.

One of the requirements for the Run Payroll use case was that, after the system calculates salary for an employee, the system must create a bank transaction and deposit the appropriate amount in the employee's ...

Get Java™ Design: Objects, UML, and Process now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.