Apache Karaf Cookbook
eBook - ePub

Apache Karaf Cookbook

  1. 260 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

About this book

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.

This book starts by covering how to make your deployment more production ready, and then covers many of the most popular Service Oriented Architecture projects that you can integrate into Karaf – these are some of the most sought after developer skills in modern enterprises. The book also delves into transforming Karaf into a JSP host, distributing containers using Apache Karaf Cellar, and providing persistence to your applications. Finally, you'll explore the world of Big Data with Apache Cassandra and Hadoop, setting the stage for your Karaf deployment to handle today's large datasets.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Apache Karaf Cookbook


Table of Contents

Apache Karaf Cookbook
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. Apache Karaf for System Builders
Introduction
Configuring production-ready logging in Apache Karaf
How to do it…
How it works…
There's more…
See also
Creating our own custom Karaf command using a Maven archetype
Getting ready
How to do it…
How it works…
There's more…
See also
Branding the Apache Karaf console
Getting ready
How to do it…
How it works…
There's more…
Deploying applications as a feature
Getting ready
How to do it…
How it works…
There's more…
See also
Using JMX to monitor and administer Apache Karaf
Getting ready
How to do it…
Reconfiguring SSH access to Apache Karaf
Getting ready
How to do it…
There's more…
Installing Apache Karaf as a service
Getting ready
How to do it…
How it works…
See also
Setting up Apache Karaf for high availability
Getting ready
How to do it…
How it works…
There's more…
2. Making Smart Routers with Apache Camel
Introduction
Installing Apache Camel modules into Apache Karaf
Getting ready
How to do it…
How it works…
See also
Listing Camel Contexts in Karaf
Getting ready
How to do it…
How it works…
There's more…
See also
Displaying Camel Context information in Karaf
Getting ready
How to do it…
How it works…
See also
Starting and stopping Camel Contexts in Karaf
Getting ready
How to do it…
How it works…
See also
Listing routes in Karaf
Getting ready
How to do it…
How it works…
See also
Displaying route information in Karaf
Getting ready
How to do it…
How it works…
See also
Starting, stopping, suspending, and resuming routes in Karaf
Getting ready
How to do it…
How it works…
See also
Listing endpoints in Karaf
Getting ready
How to do it…
How it works…
See also
Making a pure Java-based Camel Router for deployment in Karaf
Getting ready
How to do it…
How it works…
See also
Creating a Blueprint-based Camel Router for deployment in Karaf
Getting ready
How to do it…
How it works…
There's more…
See also
Adding Configuration Admin to a Blueprint-based Camel Router
Getting ready
How to do it…
How it works…
See also
Creating a managed service factory implementation of a Camel Router
Getting ready
How to do it…
How it works…
See also
3. Deploying a Message Broker with Apache ActiveMQ
Introduction
Installing Apache ActiveMQ modules into Apache Karaf
How to do it…
How it works…
Using the ActiveMQ query command
Getting ready
How to do it…
How it works…
See also
Using the ActiveMQ list command
Getting ready
How to do it…
How it works…
See also
Using the ActiveMQ dstat command
Getting ready
How to do it…
How it works…
See also
Using the ActiveMQ purge command
Getting ready
How to do it…
How it works…
See also
Using the JMS connection factory commands
Getting ready
How to do it…
How it works…
See also
Using the JMS send command
Getting ready
How to do it…
How it works…
See also
Using the JMS browse command
Getting ready
How to do it…
How it works…
Configuring and deploying a master/slave broker with Apache Karaf
Getting ready
How to do it…
How it works…
See also
Configuring and deploying a Network of Brokers with Apache Karaf
Getting ready
How to do it…
How it works…
There's more…
See also
4. Hosting a Web Server with Pax Web
Introduction
Installing Pax modules in Apache Karaf
How to do it…
How it works…
See also
Installing extended Http Service in Apache Karaf
How to do it…
How it works…
See also
Configuring Pax Web modules deployed in Apache Karaf
How to do it…
How it works…
There's more…
How it works…
Building a Http Service project to host in Apache Karaf
Getting ready
How to do it…
How it works…
See also
Building a Http Service with the Whiteboard pattern in Apache Karaf
How to do it…
Registering error pages
Defining error page mapping
Registering a welcome page
Register JSPs
How it works...
Building an application with custom HttpContext with Apache Karaf
Getting ready
How to do it…
There's more…
Building a standard web project to host in Apache Karaf
Getting ready
How to do it…
How it works…
There's more…
Configuring security for a web application in Apache Karaf
Getting ready
How to do it…
How it works…
There's more…
Binding a web project to a specific host in Apache Karaf
Getting ready
How to do it…
How it works…
There's more…
Building a Servlet 3.0 annotated web application with Apache Karaf
Getting ready
How to do it…
There's more…
How it works…
Creating a CDI web application with Apache Karaf
Getting ready
How to do it…
How it works…
See also
5. Hosting Web Services with Apache CXF
Introduction
Installing Apache CXF modules in Apache Karaf
How to do it…
How it works…
See also
Using the CXF list-endpoints command
Getting ready
How to do it…
How it works…
See also
Using the CXF stop and start commands
Getting ready
How to do it…
How it works…
See also
Building and deploying a RESTful service in Karaf
Getting ready
How to do it…
How it works…
See also
Building and deploying a Camel CXF web service in Karaf
Getting ready
How to do it…
How it works…
See also
6. Distributing a Clustered Container with Apache Karaf Cellar
Introduction
Installing Apache Karaf Cellar modules in Apache Karaf
How to do it…
How it works…
Using Apache Karaf Cellar commands
Getting ready
How to do it…
Group commands
The node commands
Cluster configuration c...

Table of contents

  1. Apache Karaf Cookbook

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Apache Karaf Cookbook by Achim Nierbeck, Jamie Goodyear, Johan Edstrom, Heath Kesler in PDF and/or ePUB format, as well as other popular books in Computer Science & Application Development. We have over one million books available in our catalogue for you to explore.