tree: 126a414a9005dabbd22733717086dbbbcc73a76a [path history] [tgz]
  1. archetypes/
  2. assemblies/
  3. audit/
  4. bundle/
  5. client/
  6. config/
  7. deployer/
  8. diagnostic/
  9. docker/
  10. etc/
  11. event/
  12. examples/
  13. features/
  14. http/
  15. instance/
  16. itests/
  17. jaas/
  18. jdbc/
  19. jms/
  20. jndi/
  21. jpa/
  22. kar/
  23. log/
  24. main/
  25. management/
  26. manual/
  27. maven/
  28. obr/
  29. package/
  30. profile/
  31. scheduler/
  32. scr/
  33. service/
  34. services/
  35. shell/
  36. specs/
  37. subsystem/
  38. system/
  39. tooling/
  40. util/
  41. web/
  42. webconsole/
  43. wrapper/
  44. .gitignore
  45. BUILDING.md
  46. create-tracker.script
  47. LICENSE
  48. NOTICE
  49. pom.xml
  50. README.md
  51. RELEASE-NOTES.md
README.md

Apache Karaf

Apache Karaf is a modern and polymorphic applications runtime. It's a lightweight, powered, and enterprise ready runtime powered by OSGi. Apache Karaf is a “product project”, providing a complete and turnkey runtime. The runtime is “multi-facets”, meaning that you can deploy different kind of applications: OSGi or non OSGi, webapplication, services based, ...

Overview

  • Hot deployment: Karaf supports hot deployment of OSGi bundles by monitoring jar files inside the [home]/deploy directory. Each time a jar is copied in this folder, it will be installed inside the runtime. You can then update or delete it and changes will be handled automatically. In addition, the Kernel also supports exploded bundles and custom deployers (a spring one is included by default).
  • Dynamic configuration: Services are usually configured through the ConfigurationAdmin OSGi service. Such configuration can be defined in Karaf using property files inside the [home]/etc directory. These configurations are monitored and changes on the properties files will be propagated to the services.
  • Resolver: Apache Karaf resolver is able to deal with requirements and capabilities of your module, simplifying the way of deploying your applications.
  • Logging System: using a centralized logging back end supported by Log4J, Karaf supports a number of different APIs (JDK 1.4, JCL, SLF4J, Avalon, Tomcat, OSGi)
  • Provisioning: Provisioning of libraries or applications can be done through a number of different ways, by which they will be downloaded locally, installed and started. It interacts with the resolver to automatically install the required components.
  • Native OS integration: Karaf can be integrated into your own Operating System as a service so that the lifecycle will be bound to your Operating System.
  • Extensible Shell console: Karaf features a nice text console where you can manage the services, install new applications or libraries and manage their state. This shell is easily extensible by deploying new commands dynamically along with new features or applications.
  • Remote access: use any SSH client to connect to the kernel and issue commands in the console
  • Security & ACL framework based on JAAS providing complete RBAC solution.
  • Managing instances: Karaf provides simple commands for managing instances of Karaf. You can easily create, delete, start and stop instances of Karaf through the console.
  • Enterprise features: Karaf provides a bunch of enterprise features that you can use in your applications (JDBC, JPA, JTA, JMS, ...).
  • WebContainer: Karaf provides a full features web container, allowing you to deploy your web applications.
  • REST & Services: Karaf supports different service frameworks as Apache CXF allowing you to easily implements your services.
  • Karaf Extensions: Karaf project is a complete ecosystem. The runtime can be extended by other Karaf subprojects such as Karaf Decanter, Karaf Cellar, Karaf Cave, ...
  • Third Party Extensions: Karaf is a supported runtime for a lot of other projects as Apache Camel, and much more.

Getting Started

For an Apache Karaf source distribution, please read BUILDING.md for instructions on building Apache Karaf.

For an Apache Karaf binary distribution, please read RELEASE-NOTES.md for installation instructions and list of supported and unsupported features.

The PDF manual is the right place to find any information about Karaf.

The examples provide a bunch of turnkey minimal applications that you can deploy in Apache Karaf and extend/template as you want.

Contact Us

To get involved in Apache Karaf:

We also have a contributor's guide.

More Information

Many thanks for using Apache Karaf.

The Apache Karaf Team