Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When should I use a platform like OSGI and when it must be avoided?

Tags:

desktop

osgi

My question is pretty straightforward: What are the features of an application that force the developer to exploit OSGI-like system? What are the cases, when such a utility is unneeded?

like image 489
Bubba88 Avatar asked Oct 13 '09 07:10

Bubba88


2 Answers

I just posted the following link to another question (What does OSGi solve), but I think here it is an even better fit. Hal Hildebrand wrote a blog about why and when he thinks OSGi is helping your development/product.

The core essence of the (pretty long) post is that it helps especially when dealing with long running, complex enterprise projects. In particular in the long run, the benefit of having an enforced structure will pay out, but read for yourselves

EDIT: fixed broken link.

like image 194
Mirko Jahn Avatar answered Nov 08 '22 17:11

Mirko Jahn


Use OSGI if you want some of:

  • a very modular code structure (extreme case : each install has a different set of modules/plugins)
  • to start/stop/upgrade a module without stopping the rest of the application
like image 3
KLE Avatar answered Nov 08 '22 17:11

KLE