tutorial

Factory pattern on steroids: the ManagedServiceFactory

A few months ago we explored the OSGi Configuration Admin Service, and the ManagedService interface in particular, to see how it is possible to create dynamically configurable services with OSGi.
The second important interface exposed by the Configuration Admin Service is the ManagedServiceFactory; as the name suggests, its purpose is to create multiple, dynamically configurable, implementations [...]

osgi, tutorial

Spring OSGi + Eclipse RCP Tutorial

Ralf Elbert has just posted a tutorial explaining how to use Spring Dynamic Modules in an Eclipse RCP application:
Spring is not only a helpful framework for the server side, its “Spring Dynamic Modules for OSGi” can be beneficial for Eclipse RCP applications on the client side as well:
– Spring’s IoC container is the most [...]

osgi, spring, tutorial

Starting with OSGi? Try Pax Runner!

Check also the second article on Pax-Runner: Provisioning Files
Despite what you can read in forums or mailing lists, starting with OSGi is just a matter of minutes if you use the right tool. And the name of the right tool is Pax Runner.

Pax Runner claims to be
a tool to provision OSGi bundles in all major [...]

osgi, pax, tutorial

OSGi: Go Forth And Extend

Todor Boev has a good introduction on OSGi and it’s architecture.
This entry is my take on a trait of the current OSGi architecture unparalleled to my knowledge in any other modular environment. Before I delve in I must introduce in brief said architecture. Detailed descriptions can be found in the public OSGi specification.
Read the complete [...]

osgi, tutorial

Google Web Toolkit on OSGi, step by step

Angelo van der Sijpt of Luminis has just published a simple, step-by-step tutorial to use GWT (Google Web Toolkit) in a OSGi application.
Google Web Toolkit is cool, and so is OSGi. However, creating a web application that can use GWT services is not that easy. By the end of this tutorial, you will have [...]

osgi, tutorial

Logging in OSGi applications

Valery Abu-Eid of DynamicJava has posted a detailed article explaining how to use effectively the OSGi Log Service.
Observing different approaches for logging OSGi-based applications for few months, I came across different articles on the topic. Although they explain how to use the OSGi Log Service pretty well, all in all, I consider the general approach [...]

osgi, tutorial

EJB as OSGi Service on Glassfish

After the first installment, Developing Hybrid (OSGi + Java EE) applications in GlassFish, Sahoo presents in his blog how to access an EJB as a OSGi service on Glassfish.

osgi, tutorial

Free Online OSGi and Equinox Course on June 30th

EclipseSource is organizing for June 30th a free webinar about OSGi and Equinox. In this occasion, Chris Aniszczyk and Jeff McAffer will present a
mini-course [..] designed to give you a clear understanding of the essential concepts, facilities and advantages of this key technology. This session will be of use to anyone interested in building flexible [...]

osgi, tutorial

Using Qt to write Equinox-OSGi-UI-Applications

Since some time Qt is released under LGPL and since some weeks now their Java-Binding named Qt-Jambi is released too under LGPL. I’ve been playing with Qt-Jambi (because my UFaceKit project has a Qt-Port) before but now that the code is under LGPL it’s getting more interesting to the wider Java-audience and naturally also to [...]

osgi, tutorial

EclipseCon 09: Blueprint Service – Enterprise Programming Model for OSGi

The OSGi platform provides an attractive foundation for building enterprise applications. However, it lacks a rich programming model for components declaration and consumption. New in OSGi 4.2, the Blueprint Service (inspired by Spring Dynamic Modules project) addresses this gap by offering a proven programming model based on inversion of control, suitable for enterprise (Java) [...]

conference, osgi, tutorial