Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Learning Apache Karaf
Table of Contents
Learning Apache Karaf
Credits
About the Authors
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. Installing Apache Karaf
Prerequisites
Obtaining Apache Karaf distribution
Installing Apache Karaf
First boot!
Summary
2. Commanding the Runtime
Command Review
Common commands
Remote console access
Apache Karaf client – a closer look
Custom command creation
Karaf-command-archetype
Karaf custom command project
JMX console
Optional web console
How to install and start the web console
Summary
3. System Configuration and Tuning
Startup properties – remote access
Logging properties
File logging
Console logging
System properties
Configuring Karaf
Setting environment variables
Configuring hot deployment
Console configuration commands
Web console
Failover configuration
Startup properties
Summary
4. Provisioning
Apache Maven repositories
The Karaf system repository
Apache Karaf features
Additional "features"
Summary
5. Deploying Applications
Deploying bundles
Building a bundle
Deploying the bundle using Maven
Deploying a bundle using the file handler
Deploying a bundle using HTTP
Deploying a bundle using hot deployments
Deploying feature descriptors
Deploying non-OSGi JARs (wrap)
Deploying WAR
Deploying Spring/Blueprint
Creating and deploying a Karaf Archive
Summary
6. Deploying Production-grade Apache Karaf
Offline repositories
How to build an offline repository
Improving application logging
High availability / failover
Installing Karaf as a service
Master-slave failover
Child instances
Basic security configuration
Managing roles
Password encryption
Locking down JMX access
Summary
7. Apache Karaf Cellar
Getting started
Node discovery
Cluster groups
Cloud discovery
Summary
8. Our Final Programming Project
Our application
A Maven build
Java and OSGi code
Apache Aries Blueprint
Extending Apache Karaf's command system
Deployment descriptors and features
Summary
A. Apache Karaf Commands
Index
← Prev
Back
Next →
← Prev
Back
Next →