Announcement Announcement Module
No announcement yet.
Map Controllers from Jar Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Map Controllers from Jar

    Hi All,

    I am writing a monitoring app in Grails 1.3.7. I would like to map some controllers defined in a separate jar (Spring Batch Admin to be exact) so I can embed those actions in my application. Is it possible to map to Spring annotated Controllers located on the classpath (and written in Java) in Grails? Also, these controllers are already mapped via Spring in the jars, is it possible to bootstrap the existing Url Mappings (xml) in Grails or could I repeat the mappings in my Grails URL Mappings to use them natively in my app?

    Just lookin to see if this is possible and what some ways would be if it is. I'd really like to re-use these controllers within my application. It's easy to do in Java, just not sure about Grails.

    Thanks in advance