Learning Karaf Cellar

Build and implement a complete clustering solution for the Apache Karaf OSGi container
Preview in Mapt

Learning Karaf Cellar

Jean-Baptiste Onofré

Build and implement a complete clustering solution for the Apache Karaf OSGi container
Mapt Subscription
FREE
$29.99/m after trial
eBook
$9.80
RRP $13.99
Save 29%
Print + eBook
$22.99
RRP $22.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$9.80
$22.99
$29.99p/m after trial
RRP $13.99
RRP $22.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning Karaf Cellar Book Cover
Learning Karaf Cellar
$ 13.99
$ 9.80
Learning Apache Karaf Book Cover
Learning Apache Karaf
$ 21.99
$ 15.40
Buy 2 for $25.20
Save $10.78
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783984602
Paperback124 pages

Book Description

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.

Table of Contents

Chapter 1: Apache Karaf – Provisioning and Clusters
What is OSGi?
The OSGi container
Multiple Apache Karaf containers
Summary
Chapter 2: Apache Karaf Cellar
Cluster topologies
Apache Karaf Cellar architecture
Apache Karaf Cellar installation and first commands
Cluster resources
Summary
Chapter 3: Hazelcast
What is Hazelcast?
Distributed cluster resource states
Replicas/Backup
Networks
Summary
Chapter 4: Cluster Groups
Managing cluster groups
Targeting provisioning
Summary
Chapter 5: Producers, Consumers, Handlers, Listeners, and Synchronizers
The event producer
The event consumer
Event handlers
Listeners and synchronizers
Summary
Chapter 6: The Filtering of Cluster Events
The configuration of the filters
Resources
Blacklist and whitelist
Inbound and outbound
Regex and event identification
The default filter configuration
Summary
Chapter 7: DOSGi
What is Cellar DOSGi?
The API bundle
The service bundle
The client bundle
Summary
Chapter 8: Cellar and Camel
The communication between remote routes
Caching with a distributed map
Summary
Chapter 9: Roadmap
HTTP load balancing and session clustering
Clustering a log service
Summary

What You Will Learn

  • 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

Authors

Table of Contents

Chapter 1: Apache Karaf – Provisioning and Clusters
What is OSGi?
The OSGi container
Multiple Apache Karaf containers
Summary
Chapter 2: Apache Karaf Cellar
Cluster topologies
Apache Karaf Cellar architecture
Apache Karaf Cellar installation and first commands
Cluster resources
Summary
Chapter 3: Hazelcast
What is Hazelcast?
Distributed cluster resource states
Replicas/Backup
Networks
Summary
Chapter 4: Cluster Groups
Managing cluster groups
Targeting provisioning
Summary
Chapter 5: Producers, Consumers, Handlers, Listeners, and Synchronizers
The event producer
The event consumer
Event handlers
Listeners and synchronizers
Summary
Chapter 6: The Filtering of Cluster Events
The configuration of the filters
Resources
Blacklist and whitelist
Inbound and outbound
Regex and event identification
The default filter configuration
Summary
Chapter 7: DOSGi
What is Cellar DOSGi?
The API bundle
The service bundle
The client bundle
Summary
Chapter 8: Cellar and Camel
The communication between remote routes
Caching with a distributed map
Summary
Chapter 9: Roadmap
HTTP load balancing and session clustering
Clustering a log service
Summary

Book Details

ISBN 139781783984602
Paperback124 pages
Read More

Read More Reviews

Recommended for You

Apache Karaf Cookbook Book Cover
Apache Karaf Cookbook
$ 21.99
$ 15.40
Learning Apache Karaf Book Cover
Learning Apache Karaf
$ 21.99
$ 15.40
Apache Camel Developer's Cookbook Book Cover
Apache Camel Developer's Cookbook
$ 29.99
$ 21.00
Java 7 Concurrency Cookbook Book Cover
Java 7 Concurrency Cookbook
$ 29.99
$ 21.00
Java EE 7 Developer Handbook Book Cover
Java EE 7 Developer Handbook
$ 35.99
$ 25.20
Instant Apache ServiceMix How-to Book Cover
Instant Apache ServiceMix How-to
$ 19.99
$ 14.00