The Whiteboard pattern is a much easier approach to registering servlets, resources, JSPs, or filters. With the Whiteboard extender, the registration of services works in the opposite way to the last recipe. The bundle activator doesn't wait for the Http Service to show up; it just registers the servlets and the other resources as services while the Whiteboard extender picks up those services and makes sure that everything is ready to be served. With the Whiteboard feature, it is possible to use all web technologies available to the underlying Jetty server, as we are not bound to the restricted Http Service interface anymore. This recipe will guide you through this by using two different technologies; first, the standard way, which is via a bundle activator, and second, via Blueprint.
Apache Karaf Cookbook
By :
Apache Karaf Cookbook
By:
Overview of this book
Table of Contents (17 chapters)
Apache Karaf Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Apache Karaf for System Builders
Making Smart Routers with Apache Camel
Deploying a Message Broker with Apache ActiveMQ
Hosting a Web Server with Pax Web
Hosting Web Services with Apache CXF
Distributing a Clustered Container with Apache Karaf Cellar
Providing a Persistence Layer with Apache Aries and OpenJPA
Providing a Big Data Integration Layer with Apache Cassandra
Providing a Big Data Integration Layer with Apache Hadoop
Testing Apache Karaf with Pax Exam
Index
Customer Reviews