Jump to ratings and reviews
Rate this book

Modular Java: Creating Flexible Applications With OSGi and Spring

Rate this book
Attack complexity in your Java applications using Modular Java . This pragmatic guide introduces you to 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.

The secret weapon for attacking complexity in any project is to break it down into smaller, cohesive, and more easily digestible pieces. With Modular Java , you can easily develop applications that are more flexible, testable, maintainable, and comprehensible.

Modular Java is a pragmatic guide to developing modular applications 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.

240 pages, Paperback

First published June 23, 2009

2 people are currently reading
31 people want to read

About the author

Craig Walls

11 books18 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (6%)
4 stars
7 (22%)
3 stars
12 (38%)
2 stars
7 (22%)
1 star
3 (9%)
Displaying 1 - 8 of 8 reviews
Profile Image for Kai Weber.
520 reviews46 followers
July 2, 2016
No theory, no fuzz, not just pragmatic, but very much so. (The series this book appears in is called "The Pragmatic Programmers".) That means, this book doesn't waste any words on why you would want to use a modular, component-based approach in your Java programming, but it tells you exactly how to do it, and which are the tools that alleviate your tasks the most.
Personally I would have wished a little bit more of background on the one or other technology used, especially the Spring framework, but the Rails-like usage of Pax scripts is a revelation.
Profile Image for Angelo.
196 reviews4 followers
October 12, 2013
With its subtitle 'Creating Flexible Applications with OSGi and Spring', expect exactly that: a big runthrough of tools, sprinkled with some OSGi knowledge and Spring details. Even though it is now published as a book, it feels more like reading a blog post on the subject. All in all, I'm not exactly impressed, and wouldn't recommend it if you are planning to _really_ learn OSGi.
Profile Image for John Carney.
3 reviews1 follower
December 16, 2011
Craig does a great job spilling beans on the basics of OSGI development, but this book is in dire needs of an update.

It relies too much on the PAX Construct scripts, and it's pretty clear this part of the book needs to look at the modern tooling available now.
3 reviews
July 20, 2009
Good book for the beginners.. Lots of improvements required for Enterprise OSGi
Looking forward to OSGi in Action though
76 reviews1 follower
January 31, 2016
Was interesting. At the time I was coming from working exclusively with Equinox (eclipse OSGi runtime). The book was a good intro to SpringDM and some of the Maven extensions for OSGi builds.
16 reviews
Read
February 3, 2016
Quick introduction to OSGi. Practical, although lacking in-depth technical discussion.
Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.