Tag: apache karaf
-
Composing applications with karaf features
I create web applications by first creating a set of OSGi bundles that form the building blocks of the application, and then use karaf features to pull the building blocks together to create complete applications that run inside apache karaf.
-
Simplified REST APIs from karaf using Jersey
I have written the Java class JerseyServlet which is intended as a base class for DS (Declarative Services) components providing Servlet services to the OSGi web whiteboard. The JerseyServlet simplifies the approach outlined in Use Jersey to provide REST APIs from karaf applications.
-
Simplified delivery of react.js from apache karaf
This article is about a new servlet base class I have created to simplify serving up javascript frontends from the OSGi web whiteboard.
-
My OSGi story
OSGi is a Java plugin framework and module system that were initially created for supporting embdedded applications in the automotive industry. OSGi also forms the foundations for the Eclipse IDE plugin model. The plugin model of OSGi consists of components waiting for services and starting and exposing services when all of the dependencies are satsified.…
-
Rewriting applications to use pax-jdbc-config and liquibase
After creating the post Pluggable databases for apache karaf applications I posted a link to the blog post in the karaf user mailing list, and the immediate response was, “why didn’t I just pax-jdbc-config instead?“. The answer to that is that I didn’t know about pax-jdbc-config. I started using pax-jdbc in the summer of 2016,…
-
Pluggable databases for apache karaf applications
Edit: I no longer use this approach. I use pax-jdbc-config instead. See the article Rewriting applications to use pax-jdbc-config and liquibase for details
-
Use Jersey to provide REST APIs from karaf applications
Edit: creating a REST API using jersey has been made simpler, see Simplified REST APIs from karaf using Jersey for details.
-
Deliver react.js from apache karaf
Edit: delivering react.js has been made simpler, see Simplified delivery of react.js from apache karaf for details.
-
Develop OSGi applications using karaf
Apache Karaf is a good platform for deploying OSGi based applications. Karaf is also a good platform for testing and debugging these applications. This article describes how to test and debug OSGi bundles and OSGi applications with karaf and eclipse.
-
Installing apache karaf on debian
Until the RFP (Request For Packaging) bug for karaf in the debian bug tracker is resolved, here is an APT archive with a karaf package for debian (architecture “all”). The package is created using native debian packaging tools, and built from a source tarball and the APT archive itself is created, using aptly.