Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Karaf Cellar

You're reading from   Learning Karaf Cellar Build and implement a complete clustering solution for the Apache Karaf OSGi container

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher
ISBN-13 9781783984602
Length 124 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Jean Baptiste Onofre Jean Baptiste Onofre
Author Profile Icon Jean Baptiste Onofre
Jean Baptiste Onofre
Jean-Baptiste Onofré Jean-Baptiste Onofré
Author Profile Icon Jean-Baptiste Onofré
Jean-Baptiste Onofré
Arrow right icon
View More author details
Toc

What is Hazelcast?

Hazelcast is a cluster and distribution solution. In Cellar, each node embeds a Hazelcast instance. The Hazelcast instances can identify each other using different mechanisms. Once connected, these Hazelcast instances share a state and distribute objects in the cluster, which are listed as follows:

  • A distributed form of set and map, allowing Cellar to store the status of the resources in the cluster.
  • A distributed topic and queue used by Cellar to transport the cluster events from a node to the other nodes. It's similar to the topic and queue destinations that we find in messaging systems such as JMS—a node can act as a producer/consumer on a queue and/or as a publisher/subscriber on a topic.
  • Multiple network configurations and discovery mechanisms, allowing Cellar nodes to automatically discover and see the other nodes.

Cellar wraps the Hazelcast instance in an OSGi way; this means that the Hazelcast instance is exposed as an OSGi service and can be used by...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime