Learning Karaf Cellar
eBook - ePub

Learning Karaf Cellar

Jean-Baptiste Onofre

Partager le livre
  1. 124 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Learning Karaf Cellar

Jean-Baptiste Onofre

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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

Approach

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Learning Karaf Cellar est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Learning Karaf Cellar par Jean-Baptiste Onofre en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatica et Sviluppo di applicazioni. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2014
ISBN
9781783984602
Édition
1

Learning Karaf Cellar


Table of Contents

Learning Karaf Cellar
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
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
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
4. Cluster Groups
Managing cluster groups
Targeting provisioning
Features
Bundles
Configurations
Optional resources
Overlapping
The summary of commands
Summary
5. Producers, Consumers, Handlers, Listeners, and Synchronizers
The event producer
The event consumer
Event handlers
Listeners and synchronizers
Summary
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
7. DOSGi
What is Cellar DOSGi?
The API bundle
The service bundle
The client bundle
Summary
8. Cellar and Camel
The communication between remote routes
Caching with a distributed map
Summary
9. Roadmap
HTTP load balancing and session clustering
Load balancing
Session clustering
Clustering a log service
Summary
Index

Learning Karaf Cellar

Copyright © 2014 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: July 2014
Production reference: 1150714
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78398-460-2
www.packtpub.com
Cover image by Abhinav Pandey ()

Credits

Author
Jean-Baptiste Onofré
Reviewers
Ladislav GaĆŸo
Sachin Handiekar
Achim Nierbeck
Commissioning Editor
Usha Iyer
Acquisition Editor
Meeta Rajani
Content Development Editor
Susmita Panda Sabat
Technical Editors
Mrunal Chavan
Ankita Jha
Pankaj Kadam
Copy Editors
Alisha Aranha
Roshni Banerjee
Dipti Kapadia
Aditya Nair
Karuna Narayanan
Project Coordinator
Neha Thakur
Proofreaders
Simran Bhogal
Ameesha Green
Paul Hindle
Indexers
Hemangini Bari
Tejal Soni
Graphics
Ronak Dhruv
Valentina D'silva
Production Coordinator
Nilesh R. Mohite
Cover Work
Nilesh R. Mohite

About the Author

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

About the Reviewers

Ladislav GaĆŸo is a computer enthusiast who has been digging into the software world for a long time. He has professional experience of more than 12 years in development and software engineering. While starting experiments with computer graphics and network administration, he realized that the true path is towards the combination of ...

Table des matiĂšres