2. The Two Facets of Modularity

Modularity consists of two aspects: the runtime model and the development model. Today, emphasis is on the runtime model, with frameworks emerging that provide runtime support for modularity. But eventually, as the runtime model gains adoption, the importance of the development model will take center stage. The patterns in this book focus on an aspect of the development model referred to as the design paradigm.

2.1. The Runtime Model

The runtime model focuses on how to manage modular software systems at runtime. The de facto standard module system on the Java platform is OSGi, and many application platforms leverage OSGi to take advantage of the runtime capabilities resulting from increased modularity. To an extent, ...

Get Java Application Architecture: Modularity Patterns with Examples Using OSGi 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.