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
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to ...
Dec. 15, 2017 06:45 PM EST Reads: 549
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objecti...
Dec. 15, 2017 04:30 PM EST Reads: 1,953
"MobiDev is a software development company and we do complex, custom software development for everyb...
Dec. 15, 2017 04:30 PM EST Reads: 1,033
Agile has finally jumped the technology shark, expanding outside the software world. Enterprises are...
Dec. 15, 2017 03:45 PM EST Reads: 969
Enterprises are adopting Kubernetes to accelerate the development and the delivery of cloud-native a...
Dec. 15, 2017 02:45 PM EST Reads: 630
In his session at 21st Cloud Expo, James Henry, Co-CEO/CTO of Calgary Scientific Inc., introduced yo...
Dec. 15, 2017 02:45 PM EST Reads: 866
While some developers care passionately about how data centers and clouds are architected, for most,...
Dec. 15, 2017 02:00 PM EST Reads: 1,138
"NetApp is known as a data management leader but we do a lot more than just data management on-prem ...
Dec. 15, 2017 02:00 PM EST Reads: 999
The question before companies today is not whether to become intelligent, it’s a question of how and...
Dec. 15, 2017 12:45 PM EST Reads: 1,626
"Akvelon is a software development company and we also provide consultancy services to folks who are...
Dec. 15, 2017 11:15 AM EST Reads: 566
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection...
Dec. 15, 2017 11:00 AM EST Reads: 2,040
"We're focused on how to get some of the attributes that you would expect from an Amazon, Azure, Goo...
Dec. 15, 2017 10:00 AM EST Reads: 990
"Codigm is based on the cloud and we are here to explore marketing opportunities in America. Our mis...
Dec. 15, 2017 09:30 AM EST Reads: 1,015
Data scientists must access high-performance computing resources across a wide-area network. To achi...
Dec. 15, 2017 09:00 AM EST Reads: 1,056
"CA has been doing a lot of things in the area of DevOps. Now we have a complete set of tool sets in...
Dec. 15, 2017 08:45 AM EST Reads: 992
High-velocity engineering teams are applying not only continuous delivery processes, but also lesson...
Dec. 15, 2017 08:15 AM EST Reads: 1,022
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offe...
Dec. 15, 2017 07:30 AM EST Reads: 954
"We're developing a software that is based on the cloud environment and we are providing those servi...
Dec. 14, 2017 12:00 PM EST Reads: 1,186
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22n...
Dec. 14, 2017 11:45 AM EST Reads: 1,306
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22n...
Dec. 14, 2017 11:00 AM EST Reads: 1,325