摘要: 5.数据库连接池 目前用的最多的是 Druid 最新出的是 HikarCP 据说性能最好的 阅读全文
posted @ 2020-05-11 09:54 薄荷少年郎微微凉 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Thymeleaf [TOC] 前端技术发展 jsp 动态技术 (serverlet启动之后,才能运行jsp) .html 动静分离 (Thymeleaf,服务器没启动可以看到静态数据,启动了能看到动态数据) node.js vue.js angular.js react.js (前后端分离) 概述 阅读全文
posted @ 2020-05-11 09:52 薄荷少年郎微微凉 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 3.初始结构 工程结构(子类继承父类) spring boot dependencies 管理依赖的版本 spring boot starter parent 父工程 hello spring boot 当前项目工程 以后导入依赖默认是不需要设置版本号,但是没有在dependencies管理的自然需 阅读全文
posted @ 2020-05-11 09:36 薄荷少年郎微微凉 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 常用配置 [TOC] 概述 本章节主要介绍一下 Spring Boot 中的一些常用配置,比如:自定义 Banner、配置日志、关闭特定的自动配置等。 自定义 Banner 在 Spring Boot 启动的时候会有一个默认的启动图案 . ____ _ __ _ _ /\\ / ___'_ __ _ 阅读全文
posted @ 2020-05-11 09:33 薄荷少年郎微微凉 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Spring Boot 应用程序 [TOC] 创建项目 这里我们使用 Intellij IDEA 来新建一个 Spring Boot 项目 Spring 初始化器 填写项目信息 选择版本和依赖 截至文章发表时间 2020 年 5 月 10 日,Spring Boot 最新版本为 2.2.7,选择最新 阅读全文
posted @ 2020-05-11 09:25 薄荷少年郎微微凉 阅读(177) 评论(0) 推荐(0) 编辑