• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OSGi and Grails

 
Paras Jain
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Craig,

How does OSGi connect to Grails? I am writing some Grails plugin, is it easy to convert the grails plugin to OSGI module sometimes down the line. Does it make sense.
I have heard that Eclipse plugins are like OSGI modules that's why this question comes to my mind.

Regards,
Paras
 
Craig Walls
author
Ranch Hand
Posts: 363
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paras Jain wrote:How does OSGi connect to Grails? I am writing some Grails plugin, is it easy to convert the grails plugin to OSGI module sometimes down the line. Does it make sense.
I have heard that Eclipse plugins are like OSGI modules that's why this question comes to my mind.


I'm a big fan of Grails, but I've not yet had an opportunity to try to do Grails within OSGi. So, I'm not sure I'll be able to answer your question. In my mind there's little reason why Grails can't work with OSGi, but the Grails programming model may make it a bit tricky. But again, I don't know.

Eclipse plugins are, in fact, OSGi bundles. In fact, the Eclipse IDE is nothing but Equinox with over a thousand bundles working together to provide IDE functionality (pretty cool when you think about it). But Eclipse plugins and Grails plugins are two different things, so I'm not sure why you bring them up...unless it's to suggest that OSGi offers a plugin mechanism. In that case, yes...OSGi is great for creating pluggable applications.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic