I don't get the benefit of using Spring instead of just using regular Java EE, and I think the reason is I don't have a good grasp of some of benefits of the design principals that Spring employs (dependency injections, etc.)
For example I don't understand what benefits we get by adding @Bean
, @Component
@Autowired
and @Repository
annotations.
My question is not what do those annotations do, the question is more what are the principals that Spring make the implementation of which easier or more effective?
Aucun commentaire:
Enregistrer un commentaire