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. A “service” in OSGi terminology, is a Java interface.
I first encountered OSGi in 2006. The company I worked from used OSGi as the basis for an ETL processing system implementing various processing elements as OSGi plugins plugging into the processing framework. Since writing OSGi activators (which was the state of the art for OSGi plugins back in the day) is kind of boring, we created a Dependency Injection system on top of OSGi.
Continue reading My OSGi story →
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.
Continue reading Develop OSGi applications using karaf →
English summary: This article is in Norwegian and presents a step-by-step receipe for creating a Java program that simulates a dragon and a troll in a cave. The purpose is to give an introduction to the Java programming language, object orientation, computer simulation, and the eclipse Java IDE’s support for aiding coding (in particular “Quick Fix”).
Denne artikkelen tar deg gjennom en steg-for-steg bruksanvisning for å lage et program som simulerer en drage og et troll i ei grotte. Artikkelen er ganske lang, men bør være rett fram å følge.
Continue reading Objektorientering i Java: “Monstersim” →
English summary: This article is in Norwegian and describes debugging of Java code in the Eclipse Java IDE.
Continue reading Debugging i eclipse →
English summary: This article is in Norwegian and describes installation of the EGit git version control plugin, in the Eclipse Java IDE.
Et “versjonskontrollsystem” lar programmereren lagre unna noe som fungerer for å kunne gå tilbake til det om det nye man prøver på feiler.
Continue reading Installere EGit i eclipse →
English summary: This article is in Norwegian and describes first startup of the eclipse Java IDE, and writing and running an “Hello World” application inside eclipse.
Continue reading Hello world! i eclipse →
English summary: This article is in Norwegian and describes downloading and installing the eclipse Java IDE.
Last ned eclipse herfra: http://www.eclipse.org/downloads/
Continue reading Laste ned og installere eclipse på Windows →