Free Sample
+ Collection

Learning Apache Karaf

Jamie Goodyear, Johan Edstrom, Heath Kesler

Everything you need to get started with installing, configuring, and administering Apache Karaf is contained in this book. All that’s required is some basic Java and you’re set to go and start developing applications using the OSGi container.
RRP $21.99
RRP $36.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782172048
Paperback128 pages

About This Book

  • Understand Apache Karaf's commands and control capabilities
  • Gain familiarity with its provisioning features
  • Explore various application deployments targets experientially

Who This Book Is For

Learning Apache Karaf will benefit all Java developers and system administrators who need to develop for and/or operate Karaf’s OSGi-based runtime. Basic knowledge of Java is assumed.

Table of Contents

Chapter 1: Installing Apache Karaf
Obtaining Apache Karaf distribution
Installing Apache Karaf
First boot!
Chapter 2: Commanding the Runtime
Command Review
Remote console access
Custom command creation
JMX console
Optional web console
Chapter 3: System Configuration and Tuning
Startup properties – remote access
Logging properties
System properties
Startup properties
Chapter 4: Provisioning
Apache Maven repositories
Chapter 5: Deploying Applications
Deploying bundles
Deploying feature descriptors
Deploying non-OSGi JARs (wrap)
Deploying WAR
Deploying Spring/Blueprint
Creating and deploying a Karaf Archive
Chapter 6: Deploying Production-grade Apache Karaf
Offline repositories
Improving application logging
High availability / failover
Basic security configuration
Chapter 7: Apache Karaf Cellar
Getting started
Node discovery
Cluster groups
Cloud discovery
Chapter 8: Our Final Programming Project
Our application
A Maven build
Java and OSGi code
Apache Aries Blueprint

What You Will Learn

  • Command and control the runtime
  • Explore system configuration tuning
  • Delve into Karaf’s provisioning mechanisms
  • Understand application deployment through practical examples
  • Improve your Karaf deployment to production-ready status
  • Harness Karaf’s features with our sample final project
  • Build a custom Karaf distribution
  • Deploy non-OSGi jars (wrap)

In Detail

Apache Karaf is more than just an OSGi-based runtime container; it’s an ecosystem of open source technologies that makes operating and managing applications easier. Karaf supports hot deployment of OSGi bundles by monitoring jar files inside the [home]/deploy directory. Each time a jar is copied in this folder, it will be installed inside the runtime. You can then update or delete it, and changes will be handled automatically. In addition, Karaf also supports exploded bundles and custom deployers.

Learning Apache Karaf will introduce developers and administrators alike to the OSGi-based container, and impart best practices by example. The book shows you how to set up an Apache Karaf distribution, and how to arrive at a production-ready deployment. Learning Apache Karaf teaches you everything you need to install, configure, and administer Apache Karaf.

Learning Apache Karaf will help guide you through the complexity of an OSGi container using sample code and configuration snippets to demonstrate the important aspects of managing and running a Karaf instance.

Learning to install and command the runtime is just the beginning; deploying and provisioning applications is just as important to the successful implementation of a stable and scalable architecture. You will discover how to monitor runtime environments using remote access, logging, and JMX, and you will also develop production-level architectures with high availability and security.


Read More

Recommended for You

QlikView 11 para Desarrolladores (Espanol)
$ 35.99
Dominar phpMyAdmin para una administración efectiva de MySQL [Espanol]
$ 12.00
Instant OSGi Starter
$ 14.99