eBook Details:
Paperback: 450 pages
Publisher: Manning Publications; 1st Edition (August 28, 2010)
Language: English
ISBN-10: 1935182307
ISBN-13: 978-1935182306
eBook Description:
Spring Dynamic Modules in Action by Manning Publications
Spring Dynamic Modules is a flexible OSGi-based framework that makes component building a snap. With Spring DM, you can easily create highly modular applications and you can dynamically add, remove, and update
your modules.
Spring Dynamic Modules in Action is a comprehensive tutorial that presents OSGi concepts and maps them to the familiar ideas of the Spring framework. In it, you’ll learn to effectively use Spring DM. You will master powerful techniques like embedding a Spring container inside an OSGi bundle, and see how Spring’s dependency injection compliments OSGi. Along the way, you’ll learn to handle data access and web-based components, and explore topics like unit testing and configuration in OSGi.
Spring Dynamic Modules is a technology that bridges the gap between the Spring Framework and OSGi, combining the simplicity and power of Spring with the modularity, flexibility, and dynamism of OSGi. Spring hardly needs any introduction, being the framework of choice for a significant segment of the Enterprise Java development market. OSGi, in contrast, although not a new technology is one that is just becoming mainstream, helped in no small part by Spring DM.
Spring Dynamic Modules in Action is a cookbook for using Spring DM, but it also serves as a primer for both of the technologies that Spring DM combines. Deciding what we thought you should know, what we thought you might not know but which was essential to further understanding, and what you didn’t know (you are reading this book, after all!) proved quite tricky. In the end, we decided to cover the basics of Spring, because some readers will be OSGi users wanting to understand Spring DM, and we decided to provide a little more detail on OSGi, because many more readers will be Spring users wanting to understand Spring DM. If you are comfortable with either or both of these technologies, you can safely skip over the first couple of chapters.
Another problem for us was the breadth of technologies covered by Spring that could be supported in an OSGi environment. There are already numerous books covering Spring in general, and also particular elements of the “Spring portfolio.” As a result, in chapters dealing with these technologies we’ve focused on how to make them work using Spring DM, rather than offering a more general discussion of the features offered by the technologies. Likewise, some of the features of Spring DM support OSGi features (such as compendium services), the scope of which is too broad to be covered in this book. So again we have limited ourselves to describing the feature briefly and then focusing on its use in Spring DM. If you read these sections and find you want to know more, rest assured that further information is freely available in the various Spring reference manuals (www.springframework.org) and the OSGi set of specifications (www.osgi.org).
The main exception to this general approach is the discussion of web applications. Spring DM 1.2 includes extensive support for web applications, and we felt that the topic deserved a greater depth of coverage. But as with all new technologies, the state of the art can move very quickly, and when we were halfway through writing this book, the web support was deprecated for Spring DM 2.0 in favor of RFC 66 as implemented by Spring dm Server. Then, toward the end of the writing process, the Eclipse Gemini project was started, with Spring DM moving to this project; right at the end, dm Server itself was transitioned to Gemini as the Eclipse Virgo project. This technological shape-shifting would have been impossible to track accurately in the book, so we finally decided to stay with our discussion of Spring DM 1.2.
Because this is an “in Action” book, we have striven to provide code and configuration examples throughout, both to illustrate the concepts and to provide a template for successful operation. This book assumes a background in Spring but requires no prior exposure to OSGi or Spring Dynamic Modules.
Who should read this book
Our primary target audience for this book is Spring developers and architects who want to discover what OSGi can do. Spring Dynamic Modules is about using Spring in an OSGi runtime environment, so if you want to write Spring-based applications on the OSGi platform, this is the book for you.
But we aren’t so naive as to assume that everyone is working on enterprise applications using Spring; some people have been using OSGi for years, creating all kinds of applications, and they may have barely heard about the Spring Framework-the popular dependency-injection framework that has helped developers build so many applications. So the reverse is also true: if you want to build OSGi applications using the Spring Framework, this book is also for you!
What’s Inside
An introduction to OSGi for Spring developers
How to use Spring with Spring DM
How to develop enterprise OSGi applications
Code downloads
The source code for the example applications in this book has been donated to the Apache Software Foundation. This source code is available at http://code.google.com/p/springdm-in-action/ and is also freely available from Manning’s website, www.manning.com/SpringDynamicModulesinAction.
Much of the source code shown in the book consists of fragments designed to illustrate the text. When a complete segment of code is given, it is shown as a numbered listing; code annotations accompany some listings. When we present source code, we sometimes use a bold font to draw attention to specific elements.
About the Author
Arnaud Cogoluègnes
A Java EE architect, Arnaud Cogoluègnes specializes in middleware. Arnaud Cogoluègnes is a software developer, Java EE architect, and author with deep expertise in middleware, software engineering, and Spring technologies. Arnaud spent a number of years developing complex business applications, integrating Java-based products, and dispensing training on the Java platform.
Thierry Templier
Thierry Templier is a Java EE and rich web architect. He contributed the JCA and Lucene to Spring. Thierry Templier is coauthor of two French books on Spring and JavaScript and contributed to the Spring Framework through its support for JCA and Lucene. He is a Java EE and Web2 architect and MDE expert with 10 years of experience. He develops rich internet applications combining Spring, OSGi, JPA, and GWT based on Spring DM.
Andy Piper
Andy Piper is a software architect with Oracle and a committer on the Spring DM project. Andy Piper is a software architect with Oracle Corporation working on Oracle’s event-driven suite of products, a Java software stack based on OSGi, Spring, and Spring DM technologies. Prior to working for Oracle, Andy was open source architect at BEA systems looking at open source technologies such as Spring and core architect for WebLogic Server. Andy was responsible for many of WebLogic’s enterprise-class features, such as clustering, RMI, IIOP, and HA technologies. Andy is a committer on the Spring DM project and holds a PhD in distributed computing from Cambridge University, England.
Author online
Purchase of Spring Dynamic Modules in Action includes free access to a private web forum run by Manning Publications where you can make comments about the book, ask technical questions, and receive help from the lead author and from other users. To access the forum and subscribe to it, point your web browser to www.manning.com/SpringDynamicModulesinAction. This page provides information on how to get on the forum once you are registered, what kind of help is available, and the rules of conduct on the forum.
Manning’s commitment to our readers is to provide a venue where a meaningful dialogue between individual readers and between readers and the author can take place. It is not a commitment to any specific amount of participation on the part of the author, whose contribution to the AO remains voluntary (and unpaid). We suggest you try asking the author some challenging questions lest his interest stray! The Author Online forum and the archives of previous discussions will be accessible from the publisher’s website as long as the book is in print.
Subscribe to:
Post Comments (Atom)
Comments
Post a Comment