Re:Why I stopped using Spring
by karlmdavis on Wednesday December 25, 2013 @03:34PM
(#6964147)
The latest Spring release supports a Groovy DSL for configuration: http://docs.spring.io/spring/docs/4.0.0.RELEASE/spring-frame...
Groovy? Another reason not to use Spring.
Re:Why I stopped using Spring
by MoosePlissken on Wednesday December 25, 2013 @06:07PM
(#6964634)
Well, you can already do java based config, which is not the same as annotation based config. As with XML config, Java based config lives outside of your application code in classes dedicated to configuration. You just use Java instead of XML, which makes things much nicer.
See here: http://docs.spring.io/spring/docs/3.2.7.BUILD-SNAPSHOT/sprin...
I'd be happy to see Spring config in a format other than XML (JSON, YAML, whatever), but even more than that, a complete elimination of any Spring config directly in Java files.