更新时间:2021-09-03 09:55:25
封面
版权页
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 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
Chapter 2. Making Smart Routers with Apache Camel
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
Chapter 3. Deploying a Message Broker with Apache ActiveMQ
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
Chapter 4. Hosting a Web Server with Pax Web
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
Chapter 5. Hosting Web Services with Apache CXF
Installing Apache CXF modules in Apache Karaf
Using the CXF list-endpoints command
Using the CXF stop and start commands
Building and deploying a RESTful service in Karaf
Building and deploying a Camel CXF web service in Karaf
Chapter 6. Distributing a Clustered Container with Apache Karaf Cellar
Installing Apache Karaf Cellar modules in Apache Karaf
Using Apache Karaf Cellar commands
Building and deploying a distributed architecture with Cellar
Chapter 7. Providing a Persistence Layer with Apache Aries and OpenJPA
Installing OpenJPA modules in Apache Karaf
Installing Apache Aries JTA modules in Apache Karaf
Building a project with a persistence layer for deployment in Karaf
Building a project with a persistence layer and transaction support for deployment in Karaf
Chapter 8. Providing a Big Data Integration Layer with Apache Cassandra
Installing Cassandra client bundles in Apache Karaf
Modeling data with Apache Cassandra
Chapter 9. Providing a Big Data Integration Layer with Apache Hadoop
Starting a standalone Hadoop cluster
Installing Hadoop client bundles in Apache Karaf
Accessing Apache Hadoop from Karaf
Adding commands that talk to HDFS for deployment in Karaf
Chapter 10. Testing Apache Karaf with Pax Exam
Setting up a Pax Exam test environment
Testing Apache Karaf features
Testing commands with Apache Karaf
Coverage with Apache Karaf Pax Exam tests
Testing Apache Camel with Blueprint and Apache Karaf
Index