Learning Apache Karaf

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.
Preview in Mapt

Learning Apache Karaf

Jamie Goodyear, Johan Edstrom, Heath Kesler

1 customer reviews
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.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$15.40
RRP $21.99
Save 29%
Print + eBook
$36.99
RRP $36.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
$15.40
$36.99
$29.99 p/m after trial
RRP $21.99
RRP $36.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning Apache Karaf Book Cover
Learning Apache Karaf
$ 21.99
$ 15.40
Apache Camel Essentials Book Cover
Apache Camel Essentials
$ 19.99
$ 14.00
Buy 2 for $29.40
Save $12.58
Add to Cart

Book Details

ISBN 139781782172048
Paperback128 pages

Book Description

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.

Table of Contents

Chapter 1: Installing Apache Karaf
Prerequisites
Obtaining Apache Karaf distribution
Installing Apache Karaf
First boot!
Summary
Chapter 2: Commanding the Runtime
Command Review
Remote console access
Custom command creation
JMX console
Optional web console
Summary
Chapter 3: System Configuration and Tuning
Startup properties – remote access
Logging properties
System properties
Startup properties
Summary
Chapter 4: Provisioning
Apache Maven repositories
Summary
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
Summary
Chapter 6: Deploying Production-grade Apache Karaf
Offline repositories
Improving application logging
High availability / failover
Basic security configuration
Summary
Chapter 7: Apache Karaf Cellar
Getting started
Node discovery
Cluster groups
Cloud discovery
Summary
Chapter 8: Our Final Programming Project
Our application
A Maven build
Java and OSGi code
Apache Aries Blueprint
Summary

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)

Authors

Table of Contents

Chapter 1: Installing Apache Karaf
Prerequisites
Obtaining Apache Karaf distribution
Installing Apache Karaf
First boot!
Summary
Chapter 2: Commanding the Runtime
Command Review
Remote console access
Custom command creation
JMX console
Optional web console
Summary
Chapter 3: System Configuration and Tuning
Startup properties – remote access
Logging properties
System properties
Startup properties
Summary
Chapter 4: Provisioning
Apache Maven repositories
Summary
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
Summary
Chapter 6: Deploying Production-grade Apache Karaf
Offline repositories
Improving application logging
High availability / failover
Basic security configuration
Summary
Chapter 7: Apache Karaf Cellar
Getting started
Node discovery
Cluster groups
Cloud discovery
Summary
Chapter 8: Our Final Programming Project
Our application
A Maven build
Java and OSGi code
Apache Aries Blueprint
Summary

Book Details

ISBN 139781782172048
Paperback128 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Apache Karaf Cookbook Book Cover
Apache Karaf Cookbook
$ 21.99
$ 15.40
Learning Karaf Cellar Book Cover
Learning Karaf Cellar
$ 13.99
$ 9.80
Instant OSGi Starter Book Cover
Instant OSGi Starter
$ 14.99
$ 10.50
Apache CXF Web Service Development Book Cover
Apache CXF Web Service Development
$ 26.99
$ 18.90
Apache Maven Cookbook Book Cover
Apache Maven Cookbook
$ 39.99
$ 28.00
Mastering Microservices with Java Book Cover
Mastering Microservices with Java
$ 35.99
$ 25.20