Can Groovy coexist with Spring?

157 Views Asked by At

I've been reading about Groovy recently and noticed that Groovy was supported by Spring? I'm wondering if they can coexist in the same web application? Possibly use the best of both worlds if one does things better than the other? If so, anyone have good examples of this?

2

There are 2 best solutions below

2
rmuller On BEST ANSWER

One the the top notch web frameworks (Grails, kind of Groovy on Rails) is based on Groovy, Hibernate and ... Spring Framework. So the answer is Yes. Also note that for both Groovy and Spring Framework SpringSource is the lead development company.

0
doelleri On

Groovy is a language and Spring is a framework. They function separately, and as Spring is a Java framework, it can be used by Groovy.