O'Reilly logo

Apache Karaf Cookbook by Heath Kesler, Johan Edstrom, Jamie Goodyear, Achim Nierbeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building and deploying a distributed architecture with Cellar

This recipe describes how to build a clustered application and the transparent usage of services throughout the cluster. We will show you how to create a Cellar-based Distributed OSGi (DOSGi) application and how you can profit from Apache Karaf Cellar.

Getting ready

It is essential that you finish at least the Installing Apache Karaf Cellar modules in Apache Karaf recipe to have a clustered environment for testing. You should also be familiar with the cluster commands presented to you in the Using Apache Karaf Cellar commands recipe. The sources used in this recipe can be found at https://github.com/jgoodyear/ApacheKarafCookbook/tree/master/chapter6/chapter6-recipe3.

How to do it…

First ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required