SpringBoot2核心技术-基础入门——01.Spring与SpringBoot

一、Spring能做什么?

1.Spring的能力

image

2.Spring的生态

https://spring.io/projects/spring-boot
覆盖了:
web开发
数据访问
安全控制
分布式
消息服务
移动开发
批处理
......

3.Spring5重大升级

(1)响应式编程
image

(2)内部源码设计
基于Java8的一些新特性,如:接口默认实现。重新设计源码架构。

二、为什么要用SpringBoot?

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". 能快速创建出生产级别的Spring应用

SpringBoot优点
● Create stand-alone Spring applications
○ 创建独立Spring应用
● Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
○ 内嵌web服务器
● Provide opinionated 'starter' dependencies to simplify your build configuration
○ 自动starter依赖,简化构建配置
● Automatically configure Spring and 3rd party libraries whenever possible
○ 自动配置Spring以及第三方功能
● Provide production-ready features such as metrics, health checks, and externalized configuration
○ 提供生产级别的监控、健康检查及外部化配置
● Absolutely no code generation and no requirement for XML configuration
○ 无代码生成、无需编写XML

SpringBoot是整合Spring技术栈的一站式框架
SpringBoot是简化Spring技术栈的快速开发脚手架

SpringBoot缺点
● 人称版本帝,迭代快,需要时刻关注变化
● 封装太深,内部原理复杂,不容易精通

三、如何学习SpringBoot

1.官网文档架构

https://docs.spring.io/spring-boot/docs/current/reference/html/index.html
image

查看版本新特性;
https://github.com/spring-projects/spring-boot/wiki#release-notes

参考文献:
【1】文档地址: https://www.yuque.com/atguigu/springboot
【2】视频地址: http://www.gulixueyuan.com/ https://www.bilibili.com/video/BV19K4y1L7MT?p=1
【3】源码地址:https://gitee.com/leifengyang/springboot2

posted @   nxf_rabbit75  阅读(141)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 快收藏!一个技巧从此不再搞混缓存穿透和缓存击穿
· Blazor Hybrid适配到HarmonyOS系统
· 支付宝 IoT 设备入门宝典(下)设备经营篇
· 万字调研——AI生成内容检测
· 解决跨域问题的这6种方案,真香!
点击右上角即可分享
微信分享提示