Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OSGi framework/standard - Spring?

 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any java framworks follows OSGi(Open Services Gateway initiative) standard. Looks this supports modular architecture. Whether Spring follows OSGi(bec Spring is modular architecture)
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any java framworks follows OSGi(Open Services Gateway initiative) standard.

I don't understand what you mean.

Whether Spring follows OSGi(bec Spring is modular architecture)

Spring Dynamic Modules allows you to develop applications running in an OSGi framework.
 
Narender Reddy Soma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kri shan wrote:Any java framworks follows OSGi(Open Services Gateway initiative) standard. Looks this supports modular architecture. Whether Spring follows OSGi(bec Spring is modular architecture)


If I understood your question correctly then my answer is Yes. Spring starting from 3.x follows OSGi framework and thats the reason you get bundle for each module rather getting everything in single spring.jar.

 
Narender Reddy Soma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Narender Reddy Soma wrote:
kri shan wrote:Any java framworks follows OSGi(Open Services Gateway initiative) standard. Looks this supports modular architecture. Whether Spring follows OSGi(bec Spring is modular architecture)


If I understood your question correctly then my answer is Yes. Spring starting from 3.x follows OSGi framework and thats the reason you get bundle for each module rather getting everything in single spring.jar.


and If you want to find if any other frameworks are also distributing thier api as osgi bundle.. beter check on thier website.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard frameworks are Apache Felix and Eclipse Equinox. See http://faq.javaranch.com/java/OSGiLinks for lots of useful information about OSGi.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic