aspose file tools*
The moose likes Other Application Frameworks and the fly likes OSGi and Grails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "OSGi and Grails" Watch "OSGi and Grails" New topic
Author

OSGi and Grails

Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
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


Paras Jain
SCJP 5.0
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 335
    
    5
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.


Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
 
 
subject: OSGi and Grails