Monday, April 17th, 2017
Playing around with the new module system in Java 9 I simply wanted to write down how to achieve the most basic tasks.
Therefore I created the following module how-to based upon a simple demonstration project consisting of two dependant modules.
(more…)
Tags: compiler, jar, java9, jdk, jep261, jigsaw, jlink, jpms, jsr376, module, osgi
Posted in Java | 1 Comment »
Monday, April 16th, 2012
The OSGi Blueprint Container specification allows us to use dependency injection in our OSGi environment, declarative import and export of OSGi services, registering lifecycle listeners and wiring dependencies into our services with a few lines of XML code.
In the following tutorial we’re first building an OSGi bundle classical style and afterwards take a trip into the advantages of the Blueprint specification.
Our OSGi container of choice here will be Apache Karaf a lightweight container with a lot of nice features and – of course – blueprint enabled…
(more…)
Tags: apache karaf, bind, blueprint, bundle, dependency injection, export, felix, listener, maven, osgi, service, springdm, tutorial, wiring
Posted in Enterprise, Java | 13 Comments »
Sunday, July 25th, 2010
In this tutorial we will take a look at the development of a simple OSGi Web Application and what tools can save us some time.
The Maven Bundle Plugin makes our life much easier here as does the OSGi Bundle Repository that offers some nice bundles – in our case the servlet API and an embedded Jetty web server.
So lets develop some bundles ..
(more…)
Tags: activator, bundle, bundle repository, example, felix, jetty, maven, obr, osgi, servlet, tutorial
Posted in Java | 3 Comments »