73

JAVA 注解的基本原理

 5 years ago
source link: https://juejin.im/post/5b45bd715188251b3a1db54f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
以前,『XML』是各大框架的青睐者,它以松耦合的方式完成了框架中几乎所有的配置,但是随着项目越来越庞大,『XML』的内容也越来越复杂,维护成本变高。 于是就有人提出来一种标记式高耦合的配置方式,『注解』。方法上可以进行注解,类上也可以注解,字段属性上也可以注解

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK