Modular Java: Creating Flexible Applications with OSGi and Spring shows you how to attack complexity in your Java applications using OSGi and Spring Dynamic Modules, two of the most compelling frameworks for Java modularization. Driven by real-world examples, this book will equip you with the know-how you need to develop Java applications that are composed of smaller, loosely coupled, highly cohesive modules.
Author Craig Walls says, “Unfortunately, as of Java 6, Java’s built-in facilities for modularity are severely limited. That’s where OSGi steps in. OSGi is a framework specification for developing highly modular, loosely coupled applications.” Modular Java is a pragmatic guide to using OSGi, the framework for dynamic modularity in Java, and Spring Dynamic Modules, an OSGi extension to the Spring Framework.
You’ll start with the basics but quickly ramp up, creating loosely coupled modules that publish and consume services, and you’ll see how to compose them into larger applications. Along the way, you’ll apply what you learn as you build a complete web application that is made up of several OSGi modules, using Spring-DM to wire those modules together.
Modular Java is filled with tips and tricks that will make you a more proficient OSGi and Spring-DM developer. Equipped with the know-how gained from this book, you’ll be able to develop applications that are more robust and agile.