Dan zou de #voorde gelegen kunnen hebben op t kruispunt bij restaurant #Karaf.
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.
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.
1990-ies picture archives in modern skin http://steinar.bang.priv.no/?p=404 #Network #album #bootstrap #bootstrapv4 #docker #jdbc #karaf #liquibase #react #reactrouter #reactjs #redux #responsive_layout #web #web_technology #webapp 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
Composing applications with karaf features http://steinar.bang.priv.no/?p=310 #apache_karaf #java_programming #declarative_services #derby #jdbc #karaf #liquibase #osgi #osgi_services #paxjdbc #paxjdbcconfig #postgresql 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
Simplified REST APIs from karaf using Jersey http://steinar.bang.priv.no/?p=342 #java_programming #maven #apache_karaf #declarative_services #dependency_injection #http_whiteboard #jersey #jsr330 #karaf #karafmavenplugin #mavenbundleplugin #rest_api #web_whiteboard #whiteboard 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
Simplified delivery of react.js from apache karaf http://steinar.bang.priv.no/?p=332 #apache_karaf #frontend #java_programming #maven #axios #bootstrap #declarative_services #frontend-maven-plugin #karaf #osgi_bundle #react-router #reactjs #redux #redux-saga #web_whiteboard_extender #webpack 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
My OSGi story http://steinar.bang.priv.no/?p=306 #apache_karaf #Eclipse #java_programming #declarative_services #eclipse #karaf #osgi #osgi_services 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
Rewriting applications to use pax-jdbc-config and liquibase http://steinar.bang.priv.no/?p=292 #apache_karaf #java_programming #declarative_services #derby #jdbc #karaf #liquibase #osgi #osgi_services #pax-jdbc #pax-jdbc-config #postgresql 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
Pluggable databases for apache karaf applications http://steinar.bang.priv.no/?p=265 #apache_karaf #java_programming #declarative_services #derby #jdbc #karaf #liquibase #osgi #osgi_services #pax-jdbc #postgresql 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
Use Jersey to provide REST APIs from karaf applications http://steinar.bang.priv.no/?p=261 #java_programming #maven #apache_karaf #declarative_services #dependency_injection #http_whiteboard #jersey #jsr330 #karaf #rest_api #web_whiteboard #whiteboard Edit: creating a REST API using jersey has been made simpler, see Simplified REST APIs from karaf using Jersey for details. The sample application https://github.com/steinarb/jersey-demo demonstrates how to use Jersey to provide a REST API from a
Deliver react.js from apache karaf http://steinar.bang.priv.no/?p=255 #apache_karaf #frontend #java_programming #maven #axios #bootstrap #declarative_services #frontend-maven-plugin #karaf #osgi_bundle #react-router #react.js #redux #redux-saga #web_whiteboard_extender #webpack 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,
Develop OSGi applications using karaf http://steinar.bang.priv.no/?p=238 #Eclipse #java_programming #maven #apache_karaf #debugging #eclipse_ide #karaf #osgi #software_development 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
Installing apache karaf on debian http://steinar.bang.priv.no/?p=224 #debian #apache_karaf #apache_maven #application_server #apt #apt_archive #aptly #deban_9 #debian_package_archive #debian_stretch #java #karaf #maven #osgi #osgi_container #ssh_server #stretch 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
Packaging karaf with native debian packaging tools http://steinar.bang.priv.no/?p=223 #debian #apache_karaf #apache_maven #application_server #java #karaf #maven #osgi #osgi_container #ssh_server 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
Installing apache karaf on debian stretch http://steinar.bang.priv.no/?p=209 #debian #java_programming #apache_karaf #apache_maven #application_server #java #karaf #maven #osgi #osgi_container #ssh_server 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 https://github.com/steinarb/karaf-debian Apache
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:
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 -
# APT archive for apache karafdeb http://apt.bang.priv.no/public stable main
apt-get updateapt-get install openjdk-8-jdk karaf
ssh -p 8101 karaf@localhost
#apacheKaraf #apacheMaven #applicationServer #apt #aptArchive #aptly #deban9 #debianPackageArchive #debianStretch #java #karaf #maven #osgi #osgiContainer #sshServer #stretch