What this book covers
Chapter 1, Apache Karaf for System Builders, covers recipes on how to make Apache Karaf more production ready. Topics such as improved logging, custom commands, branding, management, and high availability are explored.
Chapter 2, Making Smart Routers with Apache Camel, introduces Apache Camel commands, and then discusses how to build recipes for a Camel Router using Plain Old Java Objects (POJO), Blueprint, Blueprint with the Configuration Admin support, and finally, using a managed service factory.
Chapter 3, Deploying a Message Broker with Apache ActiveMQ, explores how to use Apache ActiveMQ in an embedded fashion and walks through the different commands for monitoring and interacting with the embedded ActiveMQ broker.
Chapter 4, Hosting a Web Server with Pax Web, explains how to configure and use Apache Karaf with Pax Web. It starts with basic Http Service to full web application support.
Chapter 5, Hosting Web Services with Apache CXF, shows how to set up Apache CXF endpoints in Karaf for both RESTful- and WSDL-based web services.
Chapter 6, Distributing a Clustered Container with Apache Karaf Cellar, explains the setup of Cellar and introduces the usage of its commands.
Chapter 7, Providing a Persistence Layer with Apache Aries and OpenJPA, explores adding Java persistence and transaction support to your OSGi environment.
Chapter 8, Providing a Big Data Integration Layer with Apache Cassandra, shows how to install Cassandra client bundles into Karaf, set up modeling data, and build your project to take advantage of a Cassandra-backed persistence layer.
Chapter 9, Providing a Big Data Integration Layer with Apache Hadoop, shows you how to integrate all of the Hadoop dependencies into a feature file, deploy them correctly into Karaf while managing resources, and use HDFS to store and retrieve data.
Chapter 10, Testing Apache Karaf with Pax Exam, explains how to perform integration tests with OSGi in general and shows how to use Apache Karaf in your integration test.