![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
小胖子0_0
掌握一门技术并合理使用它的最好办法就是深入理解这项技术背后的工作原理,个人博客:http://jsk970.gitee.io/docs/
展开
-
Spring 的 Java Config 配置
Spring 的 Java Config 配置从Spring 3起,JavaConfig功能已经包含在Spring核心模块,它允许开发者将bean定义和在Spring配置XML文件到Java类中。但是,仍然允许使用经典的XML方式来定义bean和配置,JavaConfig是另一种替代解决方案。所以,在Spring3以后的版本中,支持xml方式和javaConfig两种Spring配置方...原创 2018-08-30 11:00:05 · 181 阅读 · 0 评论 -
@Component, @Repository, @Service的区别
@Component, @Repository, @Service的区别原文:https://github.com/giantray/stackoverflow-java-top-qa/blob/master/contents/whats-the-difference-between-component-repository-service-annotations-in.md问题在spring集成的框架中,注解在类上的@Component,@Repository,@Service等注解能否被互换?或转载 2020-12-03 16:37:00 · 236 阅读 · 0 评论