Preface Chapter 1: Quick Intro to Felix and OSGi
What is OSGi? The framework layout The functional layers The bundle lifecycle states Bundle wiring The shared service registry Working with bundles Anatomy of a bundle The OSGi headers
Mandatory headers Functional headers Information headers
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. Then, it explores numerous practical scenarios and techniques, answering questions like: How much of OSGi do you actually need? How do you embed OSGi inside other containers? What are the best practices for moving legacy systems to OSGi?
The NetBeans Platform is the world's only modular Swing application framework, used by very large organizations in mission-critical scenarios, such as at Boeing and Northrop Grumman, as well as in the financial sector and in the oil/gas industry. For these large customers in enterprises who are increasingly interested in Maven and OSGi, the book will have particular relevance.
The OSGi specification is a module system and service platform that implements a complete and dynamic component model. Wasn’t that a complicated definition! So how would you really use it in practical modular applications? Let this book break down the seemingly overwhelming OSGi standards for you by explaining Apache Felix’s powerful architecture in a simple and easy-to-understand manner using Apache Felix framework to get you up and running sooner than you could expect.
Spring Roo in Action is a unique book that teaches you how to code Java in Roo, with a particular focus on Spring-based applications. Through hands-on examples, you'll learn how Roo creates well-formed application structures and supports best practices and tools. Plus, you'll get a quick-and-dirty guide to setting up Roo effectively in your environment.
OSGi is a tried and true modularity standard for Java. It has in recent years gained a lot of traction and tooling; becoming frequently used in Enterprise containers and distributed software systems.
"OSGi Starter" is where you should start before beginning your first OSGi based project. You’ll be exposed to the core concepts, gain practical experience with the most important features, and learn about the basic tenets of modular code practices.
Prepared exclusively for Larry Cormier
.What Readers Are Saying About Modular Java
Craig Walls does an awesome job in this book covering this very important topic. Whether you are developing an enterprise application or an application to run on your cell phone, modularization is something you have to master, and I can’t think of a better resource than this book you’re holding in your hands. Dr. Venkat Subramaniam Jolt award–winning author and founder of Agile Developer, Inc. Well-written and interesting. I found the “hands-on” style engaging.
Integration is currently a hot topic. We live in an increasingly asynchronous world in
which we need to interact with a bewildering range of systems, so our software applications
need to support a variety of conversation patterns with disparate collaborators.
Software that helps developers tackle this complexity is crucial. In the 2000s,
Struts, Spring, and Hibernate replaced in-house web MVC, configuration, and persistence
code with superior, battle-tested, and well-documented open source code.
Building and deploying monolithic applications is a thing of the past. Applications that are composed of several smaller, well-deﬁned modules are a much better way to go. By hiding design and implementation details that are likely to change behind a stable API, each module is easier to maintain, test, and understand. This ultimately affects the overall maintainability and testability of the whole application. Unfortunately, as of Java 6, Java’s built-in facilities for modularity are severely limited. Imperative instructions are modularized into methods...
It was during the very hot summer of 2003 that I first heard of Richard S. Hall. During
a coffee break, a colleague from Deutsche Telekom told me that the local university
had a teacher who was very much into OSGi. This teacher was the author of Oscar, one
of the first open source OSGi frameworks. In 2003, wholeheartedly adopting OSGi was
rare, so I was intrigued. Also around that time, Eclipse was investigating moving to a
new module system, and I was asked to participate as an OSGi expert. I thought Richard
could be valuable for this, so I asked him to join the Equinox...
Java EE developers increasingly want to utilize OSGi to develop modular applications for component and service-based architectures. But tools required for OSGi implementation have been slow to develop. Spring Dynamic Modules (Spring DM) is a framework that simplifies the creation of component and service-oriented architectures with OSGi, to build modular Java applications using the powerful Spring framework.