#apache_karaf

Steinar Bangsteinarb
2020-07-13

Composing applications with karaf features steinar.bang.priv.no/?p=310 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. The bundles are (in order of initial

Steinar Bangsteinarb
2020-07-11

Simplified REST APIs from karaf using Jersey steinar.bang.priv.no/?p=342 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 outli

Steinar Bangsteinarb
2020-07-10

Simplified delivery of react.js from apache karaf steinar.bang.priv.no/?p=332 -maven-plugin -router -saga This article is about a new servlet base class I have created to simplify serving up javascript frontends from the OSGi web whiteboard. This article won’t go into the structure of the files that must be ser

Steinar Bangsteinarb
2020-07-09

My OSGi story steinar.bang.priv.no/?p=306 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 sat

Steinar Bangsteinarb
2020-07-08

Rewriting applications to use pax-jdbc-config and liquibase steinar.bang.priv.no/?p=292 -jdbc -jdbc-config 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 a

Steinar Bangsteinarb
2020-07-06

Pluggable databases for apache karaf applications steinar.bang.priv.no/?p=265 -jdbc 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 When creating databases for my apache karaf based web applications, I want the following things: A database-independent schema cr

Steinar Bangsteinarb
2020-07-04

Use Jersey to provide REST APIs from karaf applications steinar.bang.priv.no/?p=261 Edit: creating a REST API using jersey has been made simpler, see Simplified REST APIs from karaf using Jersey for details. The sample application github.com/steinarb/jersey-demo demonstrates how to use Jersey to provide a REST API from a

Steinar Bangsteinarb
2020-07-03

Deliver react.js from apache karaf steinar.bang.priv.no/?p=255 -maven-plugin -router .js -saga Edit: delivering react.js has been made simpler, see Simplified delivery of react.js from apache karaf for details. A small barebones demo application/testbed, delivering a single-page web application from apache karaf,

Steinar Bangsteinarb
2020-07-01

Develop OSGi applications using karaf steinar.bang.priv.no/?p=238 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. The basic flow of development, is: Build the application with maven

Steinar Bangsteinarb
2020-06-30

Installing apache karaf on debian steinar.bang.priv.no/?p=224 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 buil

Steinar Bangsteinarb
2020-06-29

Packaging karaf with native debian packaging tools steinar.bang.priv.no/?p=223 Note! This is an improvement over the packaging in  Installing apache karaf on debian stretch, this package is packaged using native debian packaging tools instead of fpm, and is built from the karaf source tarball instead of the karaf binary tarball. Apache karaf is an OSGi container and application s

Steinar Bangsteinarb
2020-06-27

Installing apache karaf on debian stretch steinar.bang.priv.no/?p=209 Edit: It is now possible to install karaf on debian without building it yourself, the package installed is not the one described here, but the new and improved package built from source with native debian packaging tools, that can be found here  github.com/steinarb/karaf-debi Apache

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst