OSGi in Action![]() Creating Modular Applications in Java Richard S. Hall, Karl Pauls, Stuart McCulloch, and David Savage MEAP Began: October 2008 Softbound print: July 2010 (est.) | 375 pages ISBN: 1933988916 |
|||
| Pre-Order options* | |||
| Order today and start reading OSGi in Action today through MEAP | |||
| MEAP + Ebook only - $29.99 | |||
| MEAP + Print book (includes Ebook) when available - $49.99 | |||
| * For more information, please see the MEAP FAQs page. | |||
| About MEAP Release Date Estimates | |||
Table of Contents, MEAP Chapters & Resources
| Table of Contents | Resources | |
|
Introducing OSGi: Modularity, Lifecycle and Services
1 OSGi Revealed - FREE 2. Mastering Modularity - AVAILABLE 3. Learning Lifecycle - AVAILABLE 4. Studying Services - AVAILABLE 5. Delving Deeper into Modularity - AVAILABLE 6. Moving Toward Bundles - AVAILABLE 7. Managing Bundles and Applications - AVAILABLE 8. Testing Applications - AVAILABLE 9. Debugging Applications - AVAILABLE 10. Component Models - AVAILABLE 11. Launching and Embedding an OSGi Framework - AVAILABLE 12. Security - AVAILABLE 13. Web Applications and Services - AVAILABLE |
|
|
DESCRIPTION
If you're a Java developer, you've almost certainly heard of OSGi—and also heard that it's becoming quite a big deal. But you may still be wondering exactly "What is OSGi?"
Simply put, OSGi is a technology that allows you to create highly modular Java applications. It introduces a logical and physical module format, called a bundle, for explicitly structuring your application as a set of interconnected modules. OSGi lets you install, start, stop, update, or uninstall modules at execution time without taking down your entire system. In addition, OSGi defines a local service-oriented approach for creating applications out of loosely coupled components.
With the prevalence of modern component and service-based architectures, OSGi is becoming increasingly important. It meshes well with such approaches and greatly simplifies their creation and management. It's the backbone of Eclipse's plugin system as well as many recent JavaEE containers, such as GlassFish v3, WebSphere v6.1, and WebLogic Event Server. Even the SpringSource Application Platform is built on top of it.
OSGi in Action is a comprehensive guide to OSGi with two primary goals.
First, it provides a clear introduction to OSGi concepts with examples that are relevant both for architects and developers. The central idea of OSGi is modularity, so you start by learning about OSGi bundles.
You'll then see how OSGi handles module lifecycles and follow up with how it promotes service-oriented interaction among application components.
With the core concepts well in hand, you'll explore numerous application scenarios and techniques. How much of OSGi do you actually need? How do you embed OSGi inside other containers? What are the best practices for migrating legacy systems to OSGi? How can you embrace and make the most of system dynamism?
Expert authors Richard S. Hall, Karl Pauls, and Stuart McCulloch have years of experience both in building OSGi-based systems and in contributing to OSGi implementations such as Apache Felix.
WHAT'S INSIDE
- Master the core ideas of OSGi from the ground up
- Learn the vocabulary, tools, and strategies for OSGi
- Apply an OSGi-based approach to realistic development challenges
This book assumes you have a working knowledge of Java, but requires no previous exposure to OSGi.
About the Authors
Richard S. Hall, a long-time committer to the Apache Felix project, works with Sun Microsystems as part of the GlassFish team. Karl Pauls, is also a Felix committer. Stuart McCulloch is a Java developer with CodeDragons, a leader in OSGi solutions, and a Felix committer. David Savage is a Java software engineer. He is co-author of the Newton Distributed OSGi framework and Sigil tooling project, and recently joined Apache Felix as a committer.
WHAT REVIEWERS ARE SAYING
“I recommend this book to every serious Java developer which is involved or will be involved with modular architecture in general and OSGI in particular.”
—Masoud Kalali, DZone Zone leader, author of GlassFish in Action
About the Early Access Version
This Early Access version of OSGi in Action enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online
Want to learn More?
Sign up to read more content when it is released and to receive news about this book.


