The definitive guide to using Enterprise OSGi in the real world. Highly recommended.
Enterprise OSGI in Action is a hands-on guide for developers using OSGi to build the next generation of enterprise Java applications. By presenting relevant examples and case studies, this book guides the reader through the maze of new standards and projects.
about this book
about the authors
about the cover illustration
Part 1 Programming beyond Hello World
1. OSGi and the enterprise—why now?
1.1. Java’s missing modularity
1.2. OSGi to the rescue
1.3. Programming with enterprise OSGi
2. Developing a simple OSGi-based web application
2.1. The development sandbox
2.2. Writing an OSGi web application
2.3. Decoupling with dependency injection
2.4. Bridging JNDI and OSGi
3. Persistence pays off
3.1. Java and persistence
3.2. Building a persistent application
3.3. Transactions—the secret ingredient
4. Packaging your enterprise OSGi applications
4.1. The need for more than modules
4.2. Enterprise OSGi subsystems
4.3. The Enterprise Bundle Archive (EBA)
4.4. Alternative approaches
4.5. Developing an enterprise OSGi application
Part 2 Building better enterprise OSGi applications
5. Best practices for enterprise applications
5.1. The benefits of sharing—and how to achieve them in your bundles
5.2. Structuring for flexibility
5.3. A better enterprise application architecture
6. Building dynamic applications with OSGi services
6.1. OSGi dynamism
6.2. Using OSGi services
6.3. Getting the most out of Blueprint
6.4. Blueprint and service dynamism
7. Provisioning and resolution
7.1. Describing OSGi bundles
7.2. Provisioning bundles
7.3. Provisioning technologies
7.4. Bundle repositories
8. Tools for building and testing
8.1. Manifest-first or code-first?
8.2. Building OSGi applications
8.3. Testing OSGi applications
8.4. Collecting coverage data
9. IDE development tools
9.1. Eclipse-based OSGi development
9.2. OSGi support in other IDEs
9.3. Tools for the enterprise OSGi extensions
9.4. Testing OSGi applications inside IDEs
Part 3 Integrating enterprise OSGi with everything else
10. Hooking up remote systems with distributed OSGi
10.1. The principles of remoting
10.2. The Remote Services Specification
10.3. Writing a remotable service
10.4. Adding in your remote service using Apache CXF
10.5. Using your remote application
10.6. Using SCA for remoting
11. Migration and integration
11.1. Managing heterogeneous applications
11.2. Migrating from Java EE
12. Coping with the non-OSGi world
12.1. Turning normal JARs into OSGi bundles
12.2. Common problems for OSGi-unaware libraries
12.3. An example library conversion—logging frameworks in OSGi
13. Choosing a stack
13.1. What’s in what server?
13.2. Apache Karaf
13.3. Apache Geronimo
13.4. WebSphere Application Server
13.5. Eclipse Virgo and Gemini
13.8. Paremus Nimble and Paremus Service Fabric
Appendix A: OSGi—the basics
Appendix B: The OSGi ecosystem
© 2014 Manning Publications Co.
About the Technology
Modern enterprise applications must be scalable, maintainable, and modular. Unfortunately, by itself Java EE doesn't do modularity very well. The Enterprise OSGi model enforces simple rules to make Java better at modularity. And now, projects such as Apache Aries and Geronimo provide pluggable components that make it easier than ever to use OSGi's mature modularity system in your own enterprise applications.
Enterprise OSGi is a set of standards for building modular Java applications which integrate seamlessly with existing Java EE technologies. It extends the OSGi component framework to distributed systems.
About the book
Enterprise OSGi in Action is a hands-on guide for developers using OSGi to build enterprise Java applications. Many examples and case studies show you how to build, test, and deploy modular web applications. The book explains how to take advantage of dynamism, distribution, and automatic dependency provisioning, while still integrating with existing Java EE applications.
- Build modular applications using servlets, JSPs, WARs, and JPA
- Better component reuse and robustness
- Expert tips for Apache Aries
About the reader
The book is written for Java EE developers. No prior experience with OSGi is required.
placing your order...Don't refresh or navigate away from the page.