
spring
forrestGTJU
这个作者很懒,什么都没留下…
展开
-
谈谈Spring中都用到了那些设计模式
Design Patterns(设计模式) 表示面向对象软件开发中最好的计算机编程实践。 Spring 框架中广泛使用了不同类型的设计模式,下面我们来看看到底有哪些设计模式? 控制反转(IoC)和依赖注入(DI) IoC(Inversion of Control,控制翻转) 是Spring 中一个非常非常重要的概念,它不是什么技术,而是一种解耦的设计思想。它的主要目的是借助于“第三方”(Spr...转载 2019-06-06 13:45:16 · 1151 阅读 · 0 评论 -
Spring中@Component与@Bean的区别
Even though both of them refer to Spring managed beans, each serves a different purpose. @Component and its specializations (@Controller, @Service and @Repository) allow for auto-detection using cla...原创 2019-08-24 14:05:20 · 305 阅读 · 0 评论