6. Modularity and SOA

At this point, it’s doubtful that any of us will confuse modularity with service-oriented architecture. The two appear to be distinctly different beasts. Yet, they are similar in nature, and each offers tremendous benefit to organizations. At one level, the principles behind service design apply equally to module design. Like we try to create services that are loosely coupled and highly cohesive, we also try to design modules with similar benefits.

goal of architecture, 33

Yet, module design and service design are incredibly complementary in other ways. Chapter 1 defined a module and illustrated how modules are excellent candidates for intraprocess reuse, while service reuse crosses process boundaries. Chapter 3 discussed ...

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.