#karaf

2024-07-15

Dan zou de #voorde gelegen kunnen hebben op t kruispunt bij restaurant #Karaf.

2024-01-18

As frustrating as our company's slow implosion has been, it still feels good that I can just write a bit of code that solves a problem and submit it upstream to an open-source project.

This particular thing will help with my job, but even if it didn’t, it's a useful thing that makes a tool nicer.

github.com/apache/karaf/pull/1

#Java #Karaf #ApacheKaraf #OSGi

2023-12-12

Just did my best writing in years, and it was to try to convince our company to do literally the opposite of the strategy they just laid out for getting more revenue in the short term.

I'm not sure why I bother. They're determined to do the worst, most "copy every other business in our market" thing.

On that note, if anyone is hiring a tech polymath with deep knowledge of #Java, #Karaf, #OSGi and a ton of other stuff (CI/CD, JavaScript/TypeScript, system admin and devops), please let me know.

Steinar Bangsteinarb
2022-02-12

1990-ies picture archives in modern skin steinar.bang.priv.no/?p=404 I have written a reactjs web application, that displays images from a 1990-is picture archive in a modern, mobile friendly UI, that also tries to use the available space on large displays (responsive layout from bootstrap v4). The URLs of both the individual pictures

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

2018-01-23

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.

The package has been tested on Debian 9 “stretch” (the current stable), amd64.

Do the following commands as root on a debian GNU/linux system:

  1. Add the keys for the APT archive (Edit: needed to sign with the first key in the keyring because of an aptly bug, must add this key as well, if using the repository)
    wget -O - https://apt.bang.priv.no/apt_pub.gpg | apt-key add -wget -O - https://apt.bang.priv.no/maven_pub.gpg | apt-key add -
  2. Open the /etc/apt/sources.list file in a text editor, and add the following lines:
    # APT archive for apache karafdeb http://apt.bang.priv.no/public stable main
  3. Install karaf with apt-get
    apt-get updateapt-get install openjdk-8-jdk karaf
  4. Log in with SSH (password is “karaf” (without the quotes)) and try giving some commands:
    ssh -p 8101 karaf@localhost

 

#apacheKaraf #apacheMaven #applicationServer #apt #aptArchive #aptly #deban9 #debianPackageArchive #debianStretch #java #karaf #maven #osgi #osgiContainer #sshServer #stretch

Client Info

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