spring
新疆小麦
学到入土为止
展开
-
注解区分开来的原因
The @Repository annotation is a marker for any class that fulfills the role or stereotype of a repository (also known as Data Access Object or DAO). Among the uses of this marker is the automatic translation of exceptions, as described in Exception Transla原创 2021-08-13 12:24:12 · 59 阅读 · 0 评论 -
spring核心技术之bean的域、注解
1.bean的域: bean有6中域:singleton、prototype、request、session、application、websocket。 singleton:会为每一个使用它的协作者类提供单实例的bean对象,多个协作者类使用的同一个bean对象,spring容器会创建一个且唯一的该域类型的bean对象,这也是spring容器的默认选项,若不单独声明域类型,则默认是单例的。 ...原创 2021-06-16 12:28:07 · 85 阅读 · 0 评论 -
spring核心技术梳理之依赖注入
1.ioc容器:原创 2021-05-06 17:02:34 · 164 阅读 · 0 评论 -
spring 概述
1.spring使构建java企业应用变动简单原创 2021-04-28 19:21:47 · 61 阅读 · 0 评论