File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Limitations of OSGi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Limitations of OSGi" Watch "Limitations of OSGi" New topic

Limitations of OSGi

Marco Ehrentreich
best scout

Joined: Mar 07, 2007
Posts: 1294

Hello there again,

sorry for creating a new thread for each small question. I just don't want to mix all kinds of topics in one post

So here's the actual question: Do you no of any limitations/situations/application types where OSGi definitely can't or at least should not be used? OK, obviously the combination of OSGi and Spring can be used anywhere Spring alone can, I guess. But I'm thinking of use inside other frameworks, some kind of container or anything like that which constrains the usage of OSGi. As I don't know how different OSGi implementations work under the hood, I have no idea with this question...


Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Hm, I think this is a very broad question. It's like asking that what the limitations of Java are.

It would be better if you give some context.

SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Marco Ehrentreich
best scout

Joined: Mar 07, 2007
Posts: 1294

I know this question is a bit vague. Unfortunately, as I don't know how OSGi works internally I can't even imagine any situations where it can't be used for any kind of application.

I just wanted to see if there are any well-known limitations to the OSGi approach for managing application modules...

Thanh Ngoc Nguyen

Joined: Dec 05, 2009
Posts: 7
I think osgi is so simple and easy to use. It is not very different from traditional Java applications. What is the barrier here is, I think, the learning curve to get started with OSGI. Given that documents and sample applications in OSGI is so limited.
I agree. Here's the link:
subject: Limitations of OSGi
It's not a secret anymore!