What is OSGi? (short version)
By: Stephan Oudmaijer, 29 May 2009Since modularisation is a hot topic for Java 7, most developers by now should have a basic understanding about what OSGi is. But I often get the question; What is OSGi?
OSGi is The Dynamic Module System for Java[TM]. OSGi enables Java applications to become modulair and express dependencies on (versions of) other modules. Which means that your application no longer depend on the classloader (not) taking care of dependencies. There are a number of issues OSGi addresses, but I wont even bother writing them down here since Peter Kriens has an excellent blog post about those issues.
Java 7, and in particular JSR294, also tries to solve the modularisation problem. The expert group is working with the OSGi alliance to implement modularisation in Java, but they still have a long way to go. If you are interested in the progress of the expert group you can follow the JSR294 EG mailing list.
Below is a list of resources about OSGi:
- http://www.infoq.com/presentations/osgi-the-foundation
- http://www.infoq.com/presentations/colyer-server-side-osgi
- http://www.infoq.com/presentations/dm-Server-Rod-Johnson
- http://www.osgi.org/blog/2008_12_01_archive.html
- http://www.theserverside.com/tt/articles/article.tss?l=MigratingPathToOSGi
Now you know!


30 May 2009 om 11:03 am
It’s a shame that the EG has such great difficulties agreeing on stuff. It looks like a OSGi vs Sun fight, instead of them working together.
I respect Alex Buckley very much. I believe he is an honest person who always puts the quality of the Java platform first. But on the other hand, when I’m reading the messages on the mailing list, it looks like he’s having troubles making the people in the EG cooperate.
IMHO, stronger leadership (by him) is definitely needed for this JSR to be a success.