Modular Java: Creating Flexible Applications with OSGi and Spring

Free Download

Authors:

Series: Pragmatic Programmers

ISBN: 1934356409, 978-1934356-40-1

Size: 3 MB (3426773 bytes)

Pages: 246/246

File format:

Language:

Publishing Year:

Category: Tags: , , ,

Craig Walls1934356409, 978-1934356-40-1

Книга Modular Java: Creating Flexible Applications with OSGi and Spring Modular Java: Creating Flexible Applications with OSGi and Spring Книги Java Автор: Craig Walls Год издания: 2009 Формат: pdf Издат.:Craig Walls Страниц: 246 Размер: 2,56 ISBN: 978-1934356-40-1 Язык: Английский0 (голосов: 0) Оценка:The secret weapon for attacking complexity in any project is to break it down into smaller, cohesive, and more easily digestible pieces. With Modular Java, you can easily develop applications that are more flexible, testable, maintainable, and comprehensible.Modular Java is a pragmatic guide to developing modular applications using OSGi, the framework for dynamic modularity in Java, and Spring Dynamic Modules, an OSGi extension to the Spring Framework. You’ll start with the basics but quickly ramp up, creating loosely-coupled modules that publish and consume services, and you’ll see how to compose them into larger applications. Along the way, you’ll apply what you learn as you build a complete web application that is made up of several OSGi modules, using Spring-DM to wire those modules together.Modular Java is filled with tips and tricks that will make you a more proficient OSGi and Spring-DM developer. Equipped with the know-how gained from this book, you’ll be able to develop applications that are more robust and agile.

Table of contents :
Contents……Page 8
Introduction……Page 11
Modularity……Page 12
Introducing OSGi……Page 16
Road Map……Page 20
Acknowledgments……Page 22
OSGi Fundamentals……Page 24
Getting to Know the OSGi Container……Page 25
Hello, OSGi……Page 31
A Hello World Service Bundle……Page 37
Searching for JAR Files……Page 46
Designing the Application Components……Page 47
Bundling the Application Components for OSGi……Page 49
Setting Up the Project……Page 51
Creating the Domain Bundle……Page 60
Contending with Nonbundle Dependencies……Page 70
Following the Bundle Life Cycle……Page 79
Creating an OSGi Service……Page 81
Testing the Service……Page 92
Consuming OSGi Services……Page 101
Spring Dynamic Modules and Web Bundles……Page 110
Spring and OSGi……Page 111
Introducing Spring-DM……Page 112
Declaring Services……Page 116
Injecting Services into Consumers……Page 123
Assembling a Web Server……Page 130
The Spring-DM Web Extender……Page 138
Developing a Web Bundle……Page 143
Deploying the Web Bundle……Page 151
Introducing Fragments……Page 160
Creating a UI Fragment……Page 162
Trying It……Page 168
Finishing Touches……Page 172
Distributing the Application……Page 173
Adding an Administration Console……Page 182
Configuring the Application……Page 187
Installing Pax ConfMan……Page 188
Configuring the Web Console……Page 189
Adjusting Logging……Page 191
Configuring Application Details……Page 192
Configuring the Web Server……Page 198
OSGi R4 Headers……Page 203
Spring-DM Core Configuration Elements……Page 205
Spring-DM Compendium Configuration Elements……Page 213
Comparing the Blueprint Service with Spring-DM……Page 217
OSGi Blueprint Services (RFC-124) Elements……Page 218
OSGi Blueprint Services (RFC-124) Compendium Elements……Page 227
Resources……Page 232
Bibliography……Page 234
B……Page 235
E……Page 236
J……Page 237
P……Page 238
S……Page 239
W……Page 240

Reviews

There are no reviews yet.

Be the first to review “Modular Java: Creating Flexible Applications with OSGi and Spring”
Shopping Cart
Scroll to Top