Re:Spring vs. Java EE
by orless on Sunday April 09, 2017 @03:19PM
(#14073881)
Whether IoC is reasonable or not does not depend on the number of classes in the project. It is still a useful pattern even if you have, like, 3 classes (component A using implementation B of the interface Ib). It's just if you have only few components, you may want to wire them manually in maybe 10 lines of code instead of dropping in Spring JARs.
[ Parent
| on HN ]
There are no comments on this comment yet.