Suchen und Finden
Contents at a Glance
5
Contents
6
About the Author
10
About the Technical Reviewer
11
Acknowledgments
12
Introduction
13
Who This Book Is For
15
How This Book Is Structured
15
Prerequisites
16
Downloading the Code
16
Contacting the Author
16
Introducing OSGi
17
OSGi Concepts and Architecture
18
OSGi Hello World Application
31
Summary
56
Introducing Spring
58
Spring Concepts and Architecture
58
Spring Hello World Application
66
Summary
122
Integrating Spring and OSGi
124
OSGi’s Synergy with Spring
124
Layers of Integration
125
OSGi and Spring Hello World Application
134
Summary
162
Spring Dynamic Modules for OSGi
163
Extenders and Fragments in Spring-DM
163
Registering OSGi Services Through Spring-DM
167
Locating OSGi Services Through Spring-DM
175
OSGi Bundle Activities with Spring-DM
183
OSGi Fragments with Spring-DM
184
Summary
190
SpringSource dm Server
191
Benefits
191
Concepts and Architecture
196
SpringSource dm Server Hello World Application
204
Summary
244
Versioning with OSGi and Spring
245
Benefits and Concepts
245
OSGi Package Versioning Behaviors
249
OSGi Service Versioning Behaviors
252
OSGi Bundle Versioning Behaviors
258
OSGi Fragment Versioning Behaviors
265
OSGi Spring-DM and SpringSource dm Server Versioning Behaviors
266
Summary
269
Data Access and Bundle Management Without SpringSource dm Server
270
Access to RDBMSs
271
Introducing the BND Tool
280
Hello World Application Revisited Without the SpringSource dm Server: Data Access and Apache Ivy
293
Summary
314
Web Applications Using Spring and OSGi
316
Web Bundle Concepts
316
Using Different Web Containers
322
Using SSL/TLS with OSGi
328
Using Flex with OSGi
333
Summary
343
Testing with Spring and OSGi
344
Testing with OSGi and Spring-DM
344
Unit and Integration Revisited: Testing OSGi Applications Without OSGi
345
Spring-DM’s Testing Framework
352
Hello World Application Spring-DM Test
367
Summary
372
Index
373
Alle Preise verstehen sich inklusive der gesetzlichen MwSt.