Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic question about OSGI

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
I'm in the very first chapters of "Modular Java" book.
When and how to know that I need this OSGI thing?
Does OSGI suitable for frameworks writers or any one can benefit from it?
Thanks.
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

in general OSGi is suitable for a lot of applications - not only entire frameworks. The advantages you gain from using OSGi in my opinion depend on your knowledge and "programming style". Many developers don't care about modularity and object oriented design and architecture. In this case you probably won't see any advantages. If you're interested to create a modular application OSGi definitely helps you to manage modules and keep a clear design and architecture. Plus all the other little nice features of OSGi of course, like replacing "modules" at runtime etc.

Marco
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic