The question itself: what are the negative (positive I know) sides of an injection of model classes in Spring MVC?
Context of the question: Spring did not use anywhere in production, only for self-indulgence and for the future position I looked at the possibilities of Spring MVC, Boot, Cloud. For myself, I decided long ago on the ideology of OOP, from the experience with Guice and Castle Windsor in other projects, that I can give all that I can to injection frameworks, and I don’t wrap it up and still give it to injections.
All this is needed for unit tests. All that cannot be tested is either a shit or it will be in a couple of years of development, regression bugs, refactoring, etc. etc. Without unit tests, even if there is integration testing, the feedback will be with a lag, which, depending on the system, can be measured in days.
At the third (last technical) interview when analyzing my test project in a very large and purely soft office, one of the 3 interviewers starts to turn me (under the silence of the others) - why I declare model classes in bins. After my detailed and calm explanations, I was driven past the position. And then I thought, maybe it's just a pervy what kind of badpractis in Spring?