11-12 Spring
1 Spring
1.1 Spring理念
使现有的技术更加容易使用,整合了现有的技术框架
1.2 下载地址
官方: https://repo.spring.io/release/org/springframework/spring/
github: https://github.com/spring-projects/spring-framework/releases
Maven仓库地址:
<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.2.10.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.2.10.RELEASE</version>
</dependency>
1.3 Spring的优点
1.开源的免费框架
2.轻量级的、非侵入式的框架(不会对其他资源产生影响)
3.控制反转(IOC),面向切面编程(AOP)
3.支持事务的处理,对框架整合的支持
总结: Spring就是一个轻量级的控制反转(IOC)和面向切面编程(AOP)的框架
近期评论