---
title: Can Paremus Make OSGi Nimble?
date: 2010-03-12T13:45:21Z
modified: 2010-03-12T13:45:21Z
permalink: "https://redmonk.com/jgovernor/can-paremus-make-osgi-nimble/"
type: post
status: publish
excerpt: ""
wpid: 2593
categories:
  - Uncategorized
tags:
  - Uncategorized
  - dependency management
  - Eclipse
  - IBM
  - OSGi
  - Paremus
timestamp: 2010-03-12T13:45:21Z
---

One of the great unsolved Java problems is a lack of modularity. OSGi is a technology designed to solve the problem. Wikipedia [says](http://en.wikipedia.org/wiki/OSGi):

> The **OSGi framework** is a module system and [service](http://en.wikipedia.org/wiki/Service_%28systems_architecture%29 "Service (systems architecture)") platform for the [Java](http://en.wikipedia.org/wiki/Java_%28programming_language%29 "Java (programming language)") programming language that implements a complete and dynamic component model, something that does not exist in standalone Java/[VM](http://en.wikipedia.org/wiki/Virtual_machine "Virtual  machine") environments. [Applications](http://en.wikipedia.org/wiki/Application_software "Application software") or components (coming in the form of [bundles](http://en.wikipedia.org/wiki/Bundle "Bundle") for [deployment](http://en.wikipedia.org/wiki/Software_deployment "Software deployment")) can be remotely installed, started, stopped, updated and uninstalled without requiring a [reboot](http://en.wikipedia.org/wiki/Reboot_%28computer%29 "Reboot  (computer)"); management of [Java packages](http://en.wikipedia.org/wiki/Java_package "Java package")/[classes](http://en.wikipedia.org/wiki/Class_%28computer_science%29 "Class (computer science)") is specified in great detail. [Life cycle management](http://en.wikipedia.org/wiki/Application_Lifecycle_Management "Application Lifecycle Management") is done via APIs which allow for remote [downloading](http://en.wikipedia.org/wiki/Downloading "Downloading") of management policies. The service registry allows bundles to detect the addition of new services, or the removal of services, and adapt accordingly.

Cote said OSGi could underpin a [Stackless Stack](http://www.redmonk.com/jgovernor/2008/02/05/osgi-and-the-rise-of-the-stackless-stack-just-in-time/), but I wonder whether we should have called it a VMless VM. OSGi allows for component-based development and production in Javaland. It has been enthusiastically adopted by Java application server and ESB vendors.

But while OSGi solves one problem – a lack of modularity – it creates another – the need to manage dependencies. In order to see OSGi widely adopted by developers and IT organisations the industry needs to solve the dependency management problem. If everything is componentised, runtime management becomes exponentially more complicated.

Dependency management, or lack of it, is a barrier to adoption for OSGi.

My client Paremus has an elegant solution to the problem called Nimble, and I recently shot some video on the subject – talking to Paremus founder and CEO Richard Nicholson and the developer of the tool Robert Dunne.

Lets kick off with a high level overview of Paremus, OSGi and what Nicholson calls The Service Fabric

OK that’s the CEO stuff out of the way. What about the developer’s view, and a demo? Tomcat? Jetty? That’s just configuration decision…

Very cool… As Dunne says “the dependency stuff becomes an advantage”.

Nimble isn’t the only game in town – its worth looking at the [Apache Felix Bundle Plugin for Maven](http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html). For disclosure sake I should say the Apache Software Foundation is also a client. Another fix, another client – SpringSource implements its own Spring Dynamic Modules Framework. [SpringSource Tool Suite version 2.0](http://blog.springsource.com/2009/03/05/osgi-development-tools-in-sts/) packages some tooling for building modules and managing dependencies graphically.

For further context its been a big [news week](http://www.networkworld.com/news/2010/030510-ibm-and-eclipse-efforts-focus.html) for OSGi – IBM’s WebSphere Application Server v7 is designed to make it easier to use OSGi, in the shape of the snappily named Feature Pack for OSGi Applications and Java Persistence API (JPA) 2.0 Open Beta. Arguably though Lotus has been a more enthusiastic adopter of OSGi.

Paremus Nimble is elegant, and although its free (with the caveat that people that don’t want to pay a nominal fee to use the software will need to regularly re-register to use it), its not open source.

disclosure: seems like everyone is a RedMonk client.