Home > Back-end >  Why spring annotation type dependency injection reduces the coupling, XML can understand, why annota
Why spring annotation type dependency injection reduces the coupling, XML can understand, why annota

Time:11-03

Why spring annotation type dependency injection reduces the coupling, XML can understand, why annotations can also reduce the coupling?

CodePudding user response:

https://blog.csdn.net/weixin_32737733/article/details/108412570

CodePudding user response:

Annotations are in order to increase the agility of the programming, using which to note which, along with a note, the principle is the same as XML is, is not the same as the difference between reading configuration way, coupling refers to the logical dependence, will not change and move the whole body,
  • Related