If you’re an experienced Java developer in the enterprise, this practical, hands-on book shows you how to use OSGi to design, develop, and deploy modular cloud applications. You’ll quickly learn how to use OSGi, through concise code examples and a set of best practices derived from the authors’ experiences with real-world projects.
Through the course of this book, you’ll learn to develop modern web applications with tools and techniques such as RESTful Web Services, NoSQL, provisioning, elasticity, Auto Scaling, hotfixes, and automatic failover. Code samples are available from GitHub.
Work with dynamic OSGi services to create modular applications
Explore the basics of OSGi bundles and modular application design
Learn advanced topics, including semantic versioning, integration testing, and configuring components
Understand OSGi pitfalls, anti-patterns, and features you should avoid
Create a modular architecture for cloud-based web applications
Discover how maintainability, extensibility, scalability, and testability are affected by modular design
Get a look at various options for creating web applications with a modular approach
Interact with persistent storage services, including relational databases and NoSQL
Examine alternatives for deploying modular applications to the cloud
Introducing Modularity in Java
Chapter 1 Modularity Introduction
Dealing with Increasing Complexity complexity
Divide and Conquer
Service Oriented Architecture All Over Again?
A Better Look at Modularity and What It Really Means
Paul Bakker is a software architect for Luminis Technologies. His current focus is on building modular enterprise applications and the cloud. He believes that modularity and the cloud are the two main points we have to deal with to bring technology to a next level, and is working on making this possible for main stream software development. Today he is working on educational software focussed on personalised learning for high school students in the Netherlands. He is also responsible for pushing technology forward. Luminis strongly believes in open source and all the technology development they are doing happens in the open source community. Paul is an active contributor on projects such as Amdatu, Apache ACE, JBoss Forge and BndTools. He has a background as trainer on Java related technology and is a regular speaker on conferences.
Bert Ertman is a Fellow at Luminis in the Netherlands. Next to his customer assignments he is responsible for stimulating innovation, knowledge sharing, coaching, technology choices and presales activities.Besides his day job he is a Java User Group leader for NLJUG, the Dutch Java User Group. A frequent speaker on Enterprise Java and Software Architecture related topics at international conferences (e.g. J-Fall, Devoxx, JavaOne, Jfokus, etc) as well as an author and member of the editorial advisory board for Dutch software development magazine: Java Magazine. In 2008, Bert was honored by being awarded the coveted title of Java Champion by an international panel of Java leaders and luminaries.
The animal on the cover of Building Modular Cloud Apps with OSGi is a European Roller(Coracias garrulus).The cover image is from Meyers Kleines Lexicon. The cover font is Adobe ITC Garamond.The text font is Adobe Minion Pro; the heading font is Adobe Myriad Condensed;and the code font is Dalton Maag’s Ubuntu Mono.