11.0. Defining Subsystems
A subsystem can be thought of as a small system in and of itself. Subsystems, as defined in this book, focus on a reusable asset that other components within our application use. These other components, however, are bound to a well-defined interface that the subsystem exposes, which enables us to effectively alter implementations without modifying those elements dependent on the subsystem interface. A subsystem typically is the result of identifying some aspect of a system that exhibits largely independent characteristics from that system. Let's examine the following characteristics of a subsystem:
<<subsystem>> stereotyped package
Well-defined interface
Interface implemented by public proxy class
All classes package scope ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access