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 ...

Get Apache Karaf Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.