Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Basic question about OSGI  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!