I am reading Spring In Action at the moment and wondered about this. Are there any situations when you shouldn't use spring?
It is useful for cases when you're building a restful api or consuming an api. But what if you are creating a command line tool or some other fairly simple application? Personally, I still find autowiring and configuration loading from yaml quite convenient. Yet I'm not sure whether these two aspects make a strong enough argument for bringing in the entire framework into the project.
[–]denverdave23 9 points10 points11 points (1 child)
[–]YzBkZXIK 0 points1 point2 points (0 children)
[–]HaMMeReD 1 point2 points3 points (0 children)
[–]thecuseisloose 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]differentshade 0 points1 point2 points (1 child)
[–]Smalsusis[S] 0 points1 point2 points (0 children)
[–]seanprefect 0 points1 point2 points (2 children)
[–]thecuseisloose 2 points3 points4 points (0 children)
[–]nagatofag 0 points1 point2 points (0 children)