2019-12-22-SpringBoot概要
含义:spring 的简化配置版本(继承父类依赖,拥有父类的所有配置)
1 | <!--你的项目pom文件--> |
微服务
AOP
简化部署,可以再pom.xml中配置plugins来实现导出jar包,方便执行
Features:
- starter
- 入口类标记@SpringBootApplication
- SpringBoot配置类@SpringBootConfiguration
- 配置类@Configuration
- 开启自动配置@EnableAutoConfiguration
- 自动配置包@AutoConfigurationPackage
- 导入组件@Import
疑惑
- 为什么使用注解
- 为什么需要AOP
- 为什么选择springboot