Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this Book
About the Cover Illustration
Chapter 1. OSGi as a new platform for application development
1.1. What are development platforms and application frameworks?
1.1.1. Why use a development platform?
1.1.2. Enterprise platforms
1.2. The OSGi technology
1.2.1. The problem domain
1.2.2. The solution: a dynamic module system for Java
1.2.3. The Enterprise OSGi
1.3. Benefits of using the OSGi platform
1.3.1. OSGi manages the complexity of large systems
1.3.2. OSGi provides extensibility without eroding the system
1.3.3. OSGi is lightweight and customizable
1.3.4. OSGi allows for portability
1.4. Building blocks: the essence of OSGi
1.5. Players
1.6. Are we starting from scratch?
1.7. Summary
Chapter 2. An OSGi framework primer
2.1. Modules and information hiding
2.1.1. Establishing a formal import/export contract
2.1.2. Activating a bundle
2.2. Running and testing OSGi
2.2.1. Apache Felix, the open source OSGi framework
2.2.2. Building OSGi bundles
2.2.3. Installing bundles into Felix
2.2.4. Starting the bundles in Felix
2.2.5. Can we cheat using reflection?
2.2.6. Eclipse Equinox
2.3. Coping with changes to a module
2.3.1. Changing a bundle���s interface
2.3.2. Versioning bundles
2.3.3. Changing a module���s implementation
2.4. Services and loose coupling
2.4.1. The Printer service
2.4.2. Registering a service in the OSGi service registry
2.4.3. Looking up a service from the OSGi service registry