Book description
Over 60 recipes to help you get the most out of your Apache Karaf deployments
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.
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.
What You Will Learn
- Turn Karaf into a Smart Router with Apache Camel
- Model Karaf into a Message Broker with Apache ActiveMQ
- Transform Karaf into a JSP host with Pax Web
- Distribute your Karaf applications across a clustered container with Apache Karaf Cellar
- Transmute Karaf into a web service container with Apache CXF
- Set up a Pax Exam test environment
- Turbo-charge your Karaf applications' persistence layer scalability with Apache Cassandra
- Manage Big Data on Karaf with Apache Hadoop
Table of contents
-
Apache Karaf Cookbook
- Table of Contents
- Apache Karaf Cookbook
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Apache Karaf for System Builders
- Introduction
- Configuring production-ready logging in Apache Karaf
- Creating our own custom Karaf command using a Maven archetype
- Branding the Apache Karaf console
- Deploying applications as a feature
- Using JMX to monitor and administer Apache Karaf
- Reconfiguring SSH access to Apache Karaf
- Installing Apache Karaf as a service
- Setting up Apache Karaf for high availability
-
2. Making Smart Routers with Apache Camel
- Introduction
- Installing Apache Camel modules into Apache Karaf
- Listing Camel Contexts in Karaf
- Displaying Camel Context information in Karaf
- Starting and stopping Camel Contexts in Karaf
- Listing routes in Karaf
- Displaying route information in Karaf
- Starting, stopping, suspending, and resuming routes in Karaf
- Listing endpoints in Karaf
- Making a pure Java-based Camel Router for deployment in Karaf
- Creating a Blueprint-based Camel Router for deployment in Karaf
- Adding Configuration Admin to a Blueprint-based Camel Router
- Creating a managed service factory implementation of a Camel Router
-
3. Deploying a Message Broker with Apache ActiveMQ
- Introduction
- Installing Apache ActiveMQ modules into Apache Karaf
- Using the ActiveMQ query command
- Using the ActiveMQ list command
- Using the ActiveMQ dstat command
- Using the ActiveMQ purge command
- Using the JMS connection factory commands
- Using the JMS send command
- Using the JMS browse command
- Configuring and deploying a master/slave broker with Apache Karaf
- Configuring and deploying a Network of Brokers with Apache Karaf
-
4. Hosting a Web Server with Pax Web
- Introduction
- Installing Pax modules in Apache Karaf
- Installing extended Http Service in Apache Karaf
- Configuring Pax Web modules deployed in Apache Karaf
- Building a Http Service project to host in Apache Karaf
- Building a Http Service with the Whiteboard pattern in Apache Karaf
- Building an application with custom HttpContext with Apache Karaf
- Building a standard web project to host in Apache Karaf
- Configuring security for a web application in Apache Karaf
- Binding a web project to a specific host in Apache Karaf
- Building a Servlet 3.0 annotated web application with Apache Karaf
- Creating a CDI web application with Apache Karaf
- 5. Hosting Web Services with Apache CXF
- 6. Distributing a Clustered Container with Apache Karaf Cellar
- 7. Providing a Persistence Layer with Apache Aries and OpenJPA
- 8. Providing a Big Data Integration Layer with Apache Cassandra
- 9. Providing a Big Data Integration Layer with Apache Hadoop
- 10. Testing Apache Karaf with Pax Exam
- Index
Product information
- Title: Apache Karaf Cookbook
- Author(s):
- Release date: August 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783985081
You might also like
book
Instant OSGi Starter
The essential guide to modular development with OSGi for the serious application developer Learn something new …
book
Hibernate Recipes: A Problem-Solution Approach
Hibernate continues to be the most popular out-of-the-box framework solution for Java Persistence and data/database accessibility …
book
CentOS 8 Essentials
Learn how to install, use, and administer CentOS 8 with the help of expert guidance and …
book
Building Modular Cloud Apps with OSGi
If you’re an experienced Java developer in the enterprise, this practical, hands-on book shows you how …