O'Reilly logo

Learning Apache Karaf by Heath Kesler, Johan Edstrom, Jamie Goodyear

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Deploying Applications

By this point, Karaf should be installed using a stable configuration and we have a basic understanding on how to use the commands from the console. Now we get to be creative; here we learn about the numerous ways to deploy applications into the Karaf container. In this chapter, we will review six of the most common ways, which are listed as follows:

  • Deploying bundles
  • Deploying feature descriptors
  • Deploying non-OSGi jars
  • Deploying WAR
  • Deploying Spring/Blueprint
  • Creating and deploying a Karaf archive

Deploying bundles

In order to deploy a bundle, we first have to understand what a bundle is and how we create one. A bundle is a JAR file with an OSGi-compatible manifest file. The manifest file is a regular manifest file ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required