Software Design Methodology 179
7.2 COMBINATIONS OF STYLES
Most software systems are not built from a single style. Instead, the design of a
software system at architectural level often needs to combine different styles to
solve the design problem. Software systems that are not in a single style are called
heterogeneous styles. In [
1], Shaw pointed out that there are three kinds of ways
architectural styles can be combined together.
7.2.1 Hierarchical heterogeneous styles
The hierarchical combination of different styles in the design of a software system
is to use one architectural style at one level of abstraction while using a different
style in the design of a component of the higher level.
Figure 7.1 Java virtual machine in hierarchical heterogeneous styles
Execution Engine
Controller
Instruction A
Instruction B
Instruction C
Instruction Z
Class files
Class Loader
Method Area
Java Stacks
Heap
PC Registers
Execution
Engine
Native
Method
Stacks

Get Software Design Methodology now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.