Spring Boot 概述
获得技能
了解SpringBoot
知识要点
SpringBoot的设计目标: 自动装箱,简化配置
SpringBoot是对Spring和SpringMVC的高级应用
图解SpringBoot历史
SpringBoot是什么
使用Spring Boot可以轻松创建基于Spring的工业级应用程序,安全稳定高效
SpringBoot是对Spring和SpringMVC的高级应用
SpringBoot 特性
- 创建独立的Spring应用程序
- 直接嵌入Tomcat,Jetty或Undertow(无需部署WAR文件)
- 清爽的版本控制,减少Jar包冲突
- 充分利用Spring新特性,自动装配第三方库
- 提供生成监控功能,掌握应用的运行状况
- 简化配置,对常用功能做了默认配置
参考资料 官方文档
- Create stand-alone Spring applications
- Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
- Provide opinionated ‘starter’ dependencies to simplify your build configuration
- Automatically configure Spring and 3rd party libraries whenever possible
- Provide production-ready features such as metrics, health checks and externalized configuration
- Absolutely no code generation and no requirement for XML configuration