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
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held Novemb...
Mar. 24, 2018 02:15 PM EDT Reads: 4,539
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, ...
Mar. 24, 2018 12:45 PM EDT Reads: 6,192
@DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held Novem...
Mar. 24, 2018 11:30 AM EDT Reads: 1,617
DXWorldEXPO LLC announced today that Dez Blanchfield joined the faculty of CloudEXPO's "10-Year Anni...
Mar. 24, 2018 10:30 AM EDT Reads: 1,408
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to ...
Mar. 24, 2018 08:15 AM EDT Reads: 4,518
As DevOps methodologies expand their reach across the enterprise, organizations face the daunting ch...
Mar. 23, 2018 10:45 PM EDT Reads: 1,314
The standardization of container runtimes and images has sparked the creation of an almost overwhelm...
Mar. 23, 2018 08:00 PM EDT Reads: 1,983
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As au...
Mar. 23, 2018 07:15 PM EDT Reads: 1,645
Cloud Expo | DXWorld Expo have announced the conference tracks for Cloud Expo 2018. Cloud Expo will ...
Mar. 23, 2018 12:30 PM EDT Reads: 7,157
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing w...
Mar. 23, 2018 11:45 AM EDT Reads: 2,412
The dynamic nature of the cloud means that change is a constant when it comes to modern cloud-based ...
Mar. 23, 2018 09:30 AM EDT Reads: 3,663
With 10 simultaneous tracks, keynotes, general sessions and targeted breakout classes, @CloudEXPO an...
Mar. 22, 2018 01:30 PM EDT Reads: 2,119
"We started a Master of Science in business analytics - that's the hot topic. We serve the business ...
Mar. 22, 2018 07:30 AM EDT Reads: 3,842
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news an...
Mar. 21, 2018 02:30 PM EDT Reads: 2,023
As you move to the cloud, your network should be efficient, secure, and easy to manage. An enterpris...
Mar. 21, 2018 12:00 PM EDT Reads: 3,262
There is a huge demand for responsive, real-time mobile and web experiences, but current architectur...
Mar. 21, 2018 02:15 AM EDT Reads: 3,542
DXWorldEXPO LLC announced today that "Miami Blockchain Event by FinTechEXPO" has announced that its ...
Mar. 20, 2018 12:30 PM EDT Reads: 2,762
"NetApp is known as a data management leader but we do a lot more than just data management on-prem ...
Mar. 19, 2018 04:00 PM EDT Reads: 3,595
We call it DevOps but much of the time there’s a lot more discussion about the needs and concerns of...
Mar. 18, 2018 09:30 PM EDT Reads: 8,034
"Since we launched LinuxONE we learned a lot from our customers. More than anything what they respon...
Mar. 17, 2018 04:00 PM EDT Reads: 3,857