SpringBoot的快速入门1-4
2025-4-20
| 2025-4-20
Words 175Read Time 1 min
type
status
date
slug
summary
tags
category
icon
password

SpringBoot的快速入门1-4

本教程演示springBoot快速入门
bilibili.com/video/BV1PE411i7CV?p=5&spm_id_from=333.999.header_right.history_list.click
1-4集

web发展:

  • 最初是 javase:oop,mysql进行持久化
  • html+css+jquery+框架组成视图
    • javaweb:独立于mvc三层架构:构成后端
  • ssm:框架ssm简化了我们的开发流程,配置也比较复杂
  • spring再简化:SpringBoot,内嵌tomcat;微服务架构
  • 服务越来越多:springCloud

SpringBoot简单入门

  • 进入Spring官网 https://spring.io/
notion image
image-20220328225925513
notion image
image-20220328230022761
  • 选择配置下载
notion image
image-20220328230124838
  • 打开项目
notion image
image-20220328230220410
  • 在启动包下面创建目录
notion image
image-20220328230350360
  • 运行测试
    • notion image
      image-20220328230442455
  • 用maven打成jar包测试
notion image
image-20220328230518617
  • 可以在target下面找到打包好的jar包
notion image
image-20220328230548487
  • 运行jar包
notion image
image-20220328230639638
notion image
image-20220328230824492
  • 测试访问
notion image
image-20220328230841258
springIoc容器,依赖注入,bean后置处理器,aop实现机制分析SpringBoot整合多数据源
Loading...