Considering moving from Java/Spring MVC to Grails

Posted by MDS on Stack Overflow See other posts from Stack Overflow or by MDS
Published on 2010-06-15T19:09:49Z Indexed on 2010/06/15 19:12 UTC
Read the original article Hit count: 168

Filed under:
|
|
|

I'm currently using Java & Spring (MVC) to create a webapp, and I'm considering moving to Grails. I'd appreciate feedback/insight on the following:

  1. I have multiple application contexts in the current Java/Spring webapp that I load through the web.xml ContextLoaderListener; is it possible to have multiple application contexts in Grails? If, yes, how?

  2. This webapp extensively uses a CXF restful web service and the current Java/Spring webapp uses the bundled CXF HTTP client. Can I continue to use the (Java) CXF HTTP Client in Grails?

  3. I implemented Spring Security using a custom implementation of UserDetails and UserDetailsService, can I re-use these implementations in Grails "as is" or must I re-implement them?

  4. There is an instance where I've relied on Spring's jdbc template (rather than the available ORM) and an additional data source I defined in app context, can I re-use this in Grails?

  5. I plan on using Maven as the project management tool; are there any issues of using Maven with Grails where there is a combination of groovy and java?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring