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
Dynatrace is an application performance management software company with products for the informatio...
Oct. 19, 2018 06:15 AM EDT
In his session at 21st Cloud Expo, Michael Burley, a Senior Business Development Executive in IT Ser...
Oct. 18, 2018 09:15 PM EDT Reads: 5,908
Having been in the web hosting industry since 2002, dhosting has gained a great deal of experience w...
Oct. 18, 2018 04:45 PM EDT
NanoVMs is the only production ready unikernel infrastructure solution on the market today. Unikerne...
Oct. 18, 2018 01:15 PM EDT
All in Mobile is a mobile app agency that helps enterprise companies and next generation startups bu...
Oct. 18, 2018 01:00 PM EDT
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO Silicon Valley 2019 will cover all of these tools, with the m...
Oct. 18, 2018 12:30 PM EDT
SUSE is a German-based, multinational, open-source software company that develops and sells Linux pr...
Oct. 18, 2018 11:00 AM EDT
Yottabyte is a software-defined data center (SDDC) company headquartered in Bloomfield Township, Oak...
Oct. 18, 2018 11:00 AM EDT
Your job is mostly boring. Many of the IT operations tasks you perform on a day-to-day basis are rep...
Oct. 18, 2018 08:45 AM EDT
Serveless Architectures brings the ability to independently scale, deploy and heal based on workload...
Oct. 18, 2018 08:30 AM EDT Reads: 1,526
Technological progress can be expressed as layers of abstraction - higher layers are built on top of...
Oct. 18, 2018 05:30 AM EDT
When building large, cloud-based applications that operate at a high scale, it’s important to mainta...
Oct. 17, 2018 08:45 PM EDT Reads: 16,606
Whenever a new technology hits the high points of hype, everyone starts talking about it like it wil...
Oct. 17, 2018 08:00 PM EDT Reads: 1,727
Big Switch's mission is to disrupt the status quo of networking with order of magnitude improvements...
Oct. 17, 2018 11:45 AM EDT
Lori MacVittie is a subject matter expert on emerging technology responsible for outbound evangelism...
Oct. 17, 2018 10:45 AM EDT
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the c...
Oct. 17, 2018 10:30 AM EDT
"Calligo is a cloud service provider with data privacy at the heart of what we do. We are a typical ...
Oct. 17, 2018 01:00 AM EDT Reads: 5,152
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, disc...
Oct. 16, 2018 09:45 PM EDT Reads: 14,062
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (No...
Oct. 15, 2018 08:00 PM EDT Reads: 2,279
Chris Matthieu is the President & CEO of Computes, inc. He brings 30 years of experience in developm...
Oct. 13, 2018 01:00 AM EDT Reads: 1,658