A Recap on OSGi - Why and How?
A Recap on OSGi - Why and How?
Join the DZone community and get the full member experience.Join For Free
Over the past several months, I’ve written quite a few blog entries about OSGi. Here’s a recap of those entries. If you’re not familar with OSGi, the posts under How OSGi might be of interest. If you’re familar with OSGi, but aren’t clear how it can help, the posts under Why OSGi will be of interest. And if you want to get a sense for where OSGi stands in the market today, the posts under OSGi Market may peak your fancy.
Here are some posts that describe the motivating factors behind OSGi.
- Rotting Design - Discusses how a system’s design tends to rot as change occurs, and what we can do about it. Introduces OSGi at the end of the post.
- Java Components & OSGi - My first “official” OSGi post where I talk about JAR files as components on the Java platform.
- Enterprise OSGi -The advantages of what OSGi will bring to Enterprise development. We certainly aren’t here yet, but this is the direction things are moving.
- JAR Design over Class Design - An indication of how few development teams spend time designing JAR files. Very unfortunate, but true.
Here are some posts describing how to use OSGi. They are simple tutorials.
- Simple OSGi Service - The simplest OSGi service just to show the basics of OSGi. A good “getting started” guide if you’re not familar with OSGi.
- OSGi & Modularity - Uses the OSGi service registry and separates interface from implementation to create a module that can be replaced with another without restarting the system.
- OSGi & Spring - Shows how Spring Dynamic Modules can be embedded in an OSGi runtime (Felix) and OSGi services registered with the service registry. Spring takes care of registering the services, so that application code has no dependencies on the OSGi API.
- OSGi & Embedded Jetty - A simple tutorial showing how Jetty can be embedded in OSGi. The example is fully functional and can be checked out of my Google Code SVN repository. I used Felix for the example, but also tested it under Equinox.
- Embedding OSGi in Tomcat - A tutorial that shows what’s necessary to embed OSGi in an application server. This is the inverse of OSGi and Embedded Jetty.
Here are some posts on the OSGi market.
- OSGi Survey Results - An OSGi survey I conducted back in 2008 with some fairly interesting results. The APS blog provides additional details on the survey.
- OSGi Progress - A short note on the progress OSGi has made in the enterprise.
- OSGi interest via MarkMail - OSGi interest on the mailing lists as mined from MarkMail.
- JarAnalzyer on Spring OSGi - Running JarAnalyzer on Spring Dynamic Modules illustrates the modularity of the framework.
Late last year, I also published an in-depth research overview on OSGi. A Burton Group client subscription is required to access the report. The Wordle image embedded in this post shows the word cloud for that paper.
Published at DZone with permission of Kirk Knoernschild . See the original article here.
Opinions expressed by DZone contributors are their own.