Java Application Architecture: Modularity Patterns with Examples
Agile Software Development Series
Apr. 18, 2012 07:30 AM
|Finally someone has put the most important software architecture practices into words. Within this book lies the concepts that are the heart of true agility. Without a modularized architecture, any decent size project can not achieve agility. I have seen so many agile projects flop because they ignored architecture, in particular they ignored modularization.
This book also provides the keys concepts needed to ensure modifiability, the number one quality attribute for any architecture. It drives home the importance of physical design. An often overlooked aspect of designing modularity, yet it is the most important. Good logical design does not really matter if you have a poor physical design.
The book is broken down into 3 parts and includes an appendix that gives an overview of the SOLID Principles.
Part 1 The Case for Modularity introduces modularity and how it relates to complexity, architecture, SOA, Reuse, Design Rot, and Technical Debt. Part 1 chapters include Module Defined, Two Facets of Modularity, Architecture and Modularity, Taming the Beast, Realizing Reuse, Modularity and SOA, and Reference Implementation. The last chapter Reference Implementation shows how to apply several of the patterns through a series of refactorings applied to a sample architecture.
The sample did not include OSGi. The reason the author left OSGi out of the picture is that you do not need it to design proper modularized architecture. It is a tool to enhance the runtime experience, not the design experience. I was glad the author took this approach.
Part 2 of the book is the pattern's catalog. I have listed the chapter and the patterns included below.
-Base Patterns: Manage Relationships, Module Reuse, and Cohesive Modules
-Dependency Patterns: Acyclic Relationships, Levelize Modules. Physical Layers, Container Independence , and Independent Deployment
-Usability Patterns: Published Interface, External Configuration, Default Implementation, and Module Facade
-Extensibility Patterns: Abstract Modules, Implementation Factory, and Separate Abstractions
-Utility Patterns: Collocate Exceptions, Levelize Build, and Test Module
The pattern form (sections of the patterns) are Pattern Name, Pattern Statement, a Sketch, Description, Implementation Variations, Consequences, a Sample, and a Wrapping Up section.
Part 3 of the book provides a introduction to OSGi within several contexts. Part 3 chapters include Introducing OSGi, The Loan Sample and OSGi, OSGi and Scala, OSGi and Groovy, and the Future of OSGi.
The author has put up a site that includes a pattern catalog on his site Java Application Architecture: Modularity Patterns.
The author has all the source code available on github. It is organized by sample/pattern name. The code is very well organized and usable.
This book is not only for Java developers. It is a great book for anyone developing object oriented systems. It easily translates to .NET. I was constantly drawing parallels with my experience using PRISM to develop modular .NET applications.
This is a must read for every architect and developer interested in doing architecture right. The concepts in this book will take you to a new level of quality with your architectural designs.
Java Application Architecture: Modularity Patterns with Examples Using OSGi
Subscribe to the World's Most Powerful Newsletters
Most DevOps journeys involve several phases of maturity. Research shows that the inflection point wh...
Jun. 23, 2018 01:15 PM EDT Reads: 5,209
Dynatrace is an application performance management software company with products for the informatio...
Jun. 23, 2018 12:30 PM EDT
Today, we have more data to manage than ever. We also have better algorithms that help us access our...
Jun. 23, 2018 12:00 PM EDT
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: D...
Jun. 23, 2018 11:00 AM EDT Reads: 1,508
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held Novemb...
Jun. 23, 2018 11:00 AM EDT Reads: 2,639
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22...
Jun. 23, 2018 10:45 AM EDT Reads: 3,006
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, ...
Jun. 23, 2018 10:15 AM EDT Reads: 8,066
SYS-CON Events announced today that IoT Global Network has been named “Media Sponsor” of SYS-CON's @...
Jun. 23, 2018 07:15 AM EDT Reads: 4,934
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018,...
Jun. 23, 2018 07:15 AM EDT Reads: 3,779
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing w...
Jun. 23, 2018 06:45 AM EDT Reads: 5,264
Disruption, Innovation, Artificial Intelligence and Machine Learning, Leadership and Management hear...
Jun. 23, 2018 06:30 AM EDT Reads: 1,527
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news an...
Jun. 23, 2018 06:00 AM EDT Reads: 3,684
DXWorldEXPO LLC announced today that Telecom Reseller has been named "Media Sponsor" of CloudEXPO | ...
Jun. 23, 2018 05:30 AM EDT Reads: 4,963
Enterprises are striving to become digital businesses for differentiated innovation and customer-cen...
Jun. 23, 2018 05:30 AM EDT Reads: 1,576
Consumer-driven contracts are an essential part of a mature microservice testing portfolio enabling ...
Jun. 23, 2018 04:00 AM EDT Reads: 1,308
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitori...
Jun. 23, 2018 02:30 AM EDT Reads: 3,210
Adding public cloud resources to an existing application can be a daunting process. The tools that y...
Jun. 23, 2018 01:15 AM EDT Reads: 9,977
A valuable conference experience generates new contacts, sales leads, potential strategic partners a...
Jun. 23, 2018 12:00 AM EDT Reads: 4,643
Using new techniques of information modeling, indexing, and processing, new cloud-based systems can ...
Jun. 23, 2018 12:00 AM EDT Reads: 9,619
Containers and Kubernetes allow for code portability across on-premise VMs, bare metal, or multiple ...
Jun. 22, 2018 10:45 PM EDT Reads: 2,486