OSGI – the future from the past

Posted in java by pedro | Monday, March 5th, 2007 at 2:08 pm

I don’t know why, but sometimes great technology comes to early. And it must wait for its time. I think the same is with OSGi. Now we have forth edition. The first edition was released in May 2000. The situation was change after Eclipse foundation chooses OSGi specification in eclipse 3.2 as plugin system. Now it’s main core eclipse library. This specification has three implementation

* Eclipse Equinox
* Apache Feli
* Knopflerfish

I think you can start here Getting started with OSGi. You can find also how to integrate maven with OSGi in Jacek Laskowski wiki (in polish).

I’ll have many fun with Equinox implementation which I will describe in my wiki. Yep I’ve got a wiki system, and this is reason why i don’t post in last time. But i promise to post more.

In simple word OSGi specification is describing portion independent part of software as a bundle. You can imagine that bundle is simple module of Java program (jar, plugin). It must be fully self-describing. If you have ever tried building plugin system, that you know, that java class loader is a problem. OSGi has something called activator. Activator is responsible for starting and stopping bundles. OSGi is highly dynamic that means that bundles may come and go at any time in application life cycle.

In next episode : The tutorial to build OSGi bundles with maven-bundle-plugin. And I also try to compare OSGi implementation

Technorati Tags: ,

Leave a Reply

about me

My name is Sebastian Pietrowski. I've finished Warsaw University as Master degree. During my studies I started work for merlin.pl. The primary language I use is Java but I have also programmed in Python, Ruby and Scala. I worked as a technical solution architect at merlin.pl. infrastructure when we were moving from PL/SQL to J2EE. I engineering a great performance optimized solution that made the application 10 times faster than requirements and 85 times faster as original solution.

Currently, I am working as a Senior Expert at F.Hoffmann-La Roche to help define future roadmap in design and development of Enterprise software at Roche and Genentech and build adoption for new technologies. I'm continuously mentoring new developers, helping them understand how important test driven development is and empowering them to get better at their daily job. I'm involved in many activities which brings new technologies for better and faster development. You can find more details on my LinkedIn profile.

But don’t get me wrong, I am not your typical nerd. I'm a pleasant guy that you can drink a glass of wine with me and talk about a range of topics with. My leisure activities include playing basketball, soccer and listening to music. I try to be pragmatic while staying focused on application performance and tuning with success in my daily work.

My favorite quote from Yoda's and my life’s motto is: Do, or do not. There is no try.