Spring资料的获取
官网:https://spring.io/projects/spring-framework#overview
官方下载地址:https://repo.spring.io/release/org/springframework/spring/
GitHub地址:https://github.com/spring-projects/spring-framework/releases
中文文档:https://blog.csdn.net/github_39939645/article/details/88853122
<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.2.0.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.2.0.RELEASE</version>
</dependency>
Spring优点
Spring是一个开源的免费的框架
控制反转(IOC)
面向切面编程(AOP)
支持事务的处理
Spring是一个轻量级的控制反转(IOC)和面向切面编程(AOP)的框架
Spring 7大模块
学习SpringBoot的前提:学习Spring和SpringMvc
学习SpringCloud的前提:学习SpringBoot(大公司用,可选择)