Learning Karaf Cellar

Learning Karaf Cellar
eBook: $13.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $36.98    Print cover: $22.99
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Install and use Cellar as a provisioning clustering solution for Apache Karaf
  • Extend Cellar usage to more than just provisioning by implementing distributed solutions
  • Practical, step-by-step tutorial with real use cases and examples to help you seamlessly manage a cluster of Karaf Instances

Book Details

Language : English
Paperback : 124 pages [ 235mm x 191mm ]
Release Date : July 2014
ISBN : 1783984600
ISBN 13 : 9781783984602
Author(s) : Jean-Baptiste Onofré
Topics and Technologies : All Books, Open Source

Table of Contents

Chapter 1: Apache Karaf – Provisioning and Clusters
Chapter 2: Apache Karaf Cellar
Chapter 3: Hazelcast
Chapter 4: Cluster Groups
Chapter 5: Producers, Consumers, Handlers, Listeners, and Synchronizers
Chapter 6: The Filtering of Cluster Events
Chapter 7: DOSGi
Chapter 8: Cellar and Camel
Chapter 9: Roadmap
  • Chapter 1: Apache Karaf – Provisioning and Clusters
    • What is OSGi?
      • The OSGi framework
      • The OSGi bundle
      • Dependency between bundles
    • The OSGi container
      • Provisioning in Apache Karaf
      • OBR
      • Apache Karaf Features
    • Multiple Apache Karaf containers
      • Provisioning clusters
    • Summary
  • Chapter 2: Apache Karaf Cellar
    • Cluster topologies
    • Apache Karaf Cellar architecture
    • Apache Karaf Cellar installation and first commands
    • Cluster resources
      • Bundles
      • Karaf features
      • Configuration
      • Optional resources
      • The Karaf WebConsole plugin
    • Summary
  • Chapter 3: Hazelcast
    • What is Hazelcast?
    • Distributed cluster resource states
      • Distributed queues and topics
      • The Cellar distributed map
    • Replicas/Backup
      • Persistence
    • Networks
      • Multiple clusters
      • TCP/IP
      • Interfaces
      • SSL
      • Encryption
      • IPv6 support
      • Restricting outbound ports
    • Summary
  • Chapter 4: Cluster Groups
    • Managing cluster groups
    • Targeting provisioning
      • Features
      • Bundles
      • Configurations
      • Optional resources
      • Overlapping
      • The summary of commands
    • Summary
  • Chapter 6: The Filtering of Cluster Events
    • The configuration of the filters
    • Resources
    • Blacklist and whitelist
    • Inbound and outbound
    • Regex and event identification
      • Bundle
      • Configuration
      • Features
    • The default filter configuration
    • Summary
  • Chapter 7: DOSGi
    • What is Cellar DOSGi?
    • The API bundle
    • The service bundle
    • The client bundle
    • Summary
  • Chapter 9: Roadmap
    • HTTP load balancing and session clustering
      • Load balancing
      • Session clustering
    • Clustering a log service
    • Summary

Jean-Baptiste Onofré

Jean-Baptiste Onofré is a member of the Apache Software Foundation, and he has been involved in Apache projects for the past 10 years. He is the PMC chair of Apache Karaf and its subprojects, including Cellar, Cave, and EIK.

He is also a PMC member of Apache ACE, Apache ServiceMix, and Apache Syncope, and he is a committer for Apache ActiveMQ, Apache Archiva, Apache Aries, Apache Camel, and Apache jClouds.

He is currently working for Talend (http://www.talend.com) as a software architect and is a member of the Talend Apache team.

He writes articles on Java technologies for Linux Magazine Franceand has worked as a reviewer for Apache ServiceMix How-To, Henryk Konsek, and Learning Apache Karaf, Johan Edstrom, Jamie Goodyear, and Heath Kesler. Both of these books are published by Packt Publishing. He is currently reviewing Apache Karaf Cookbook, Johan Edstrom, Jamie Goodyear, Heath Kesler, and Achim Nierbeck, Packt Publishing.

He has also given speeches about Apache projects (Karaf, Camel, and so on) at different conferences, especially at ApacheCon NA, ApacheCon Europe, and CamelOne.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Learning Karaf Cellar +    Build Gamified Websites with PHP and jQuery =
50% Off
the second eBook
Price for both: $26.55

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Explore the Apache Karaf OSGi container and its features
  • Install and configure multiple Karaf containers
  • Leverage Hazelcast using Cellar to provide clustering
  • Create and manage multiple cluster groups
  • Discover the different components of Cellar and how to administrate them
  • Implement a fine-grained topology by filtering cluster events
  • Use Cellar to implement remote communication between OSGi bundles (DOSGi)
  • Use Cellar with Camel to implement a remote communication between Camel routes and a distributed cache

In Detail

Apache Karaf is a popular OSGi container that provides rich and broad features, and together with Cellar, you can easily manage farms of containers that provide synchronization between the instances of Karaf. In a real production system, users require a farm of containers to implement failover and scalability, as well as the tools required to provision the different members of a cluster. This book will help you understand the architecture, installation, and configuration of a cluster and teach you about different components and features to get the best out of a clustering solution using Apache Karaf Cellar.

Learning Karaf Cellar starts with an introduction to some of the key features of Karaf. After a quick but detailed understanding of OSGi and Karaf, this book takes you through the concept of provisioning clusters and then covers what Cellar is and how to use it.


This book is a tutorial written with a step-by-step approach to help you implement an optimum clustering solution in Apache Karaf Cellar quickly and efficiently.

Who this book is for

If you are new to Karaf and want to install and manage multiple Karaf instances by farming or clustering, then this book is for you. If you are a Java developer or a system administrator with basic knowledge of Karaf, you can use this book as a guide. Some background knowledge of OSGi and/or Karaf would be preferred but is not mandatory.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software