随笔分类 - Spring Boot
Learning Spring Boot,
摘要:JAVA 8 Spring Boot 2.5.3 MySQL 5.7.21 Druid 1.2.6(2021-5-5发布) 目录 1、序章 2、使用默认HikariCP数据库 操作数据库 3、使用Druid 访问/druid/*端点 参考文档 1、序章 数据库连接池 使应用可以重复使用一个已经建立的
阅读全文
摘要:JAVA 8 elasticsearch-7.14.0 on Windows 10 Spring Boot 2.5.3 目录 1、开启ES的账号密码访问 2、修改Kibana的ES账号密码 3、Spring Boot项目启动访问ES 4、更多操作 参考文档 相关ES官方文档 1、Secure the
阅读全文
摘要:Java 8 Spring Boot 2.5.3 授人以渔 1、Spring Framework官方文档(有PDF下载) Core文档下的:Chapter 3. Validation, Data Binding, and Type Conversion 2、Spring Boot官方文档(有PDF下
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 Google Chrome 92+ 授人以渔: 1、Spring Boot Reference Documentation This document is also available as Multi-page HTML, Single page
阅读全文
摘要:Spring Boot 2.5.3 jquery 1.10.2 jquery 1.12.4 使用S.B.开发了一个接口,如下:/test/call @RestController @RequestMapping(value="/test") @Slf4j public class TestContr
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 Elasticsearch-7.14.0(Windows) 目录 创建索引1:只使用@Document注解 创建索引2:@Document注解 + @Setting注解 创建索引3:使用@Setting注解的settingPath属性 setting
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 Elasticsearch-7.14.0(Windows) 授人以渔: 1、Spring Boot Reference Documentation This document is also available as Multi-page HTML,
阅读全文
摘要:MySQL 5.7.21 on Ubuntu 按照8020法则,整理常用的MySQL命令、配置。 目录 常用命令 1、help2、show命令3、EXPLAIN | DESCRIBE | DESC4、数据库5、用户6、权限7、数据表及字段8、索引 常用配置 1、服务器配置 参考文档 常用命令 1、h
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 MySQL 5.7.21(单机) 前文: spring boot项目14:安全-基础使用(1) 授人以渔: 1、Spring Boot Reference Documentation This document is also available a
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 MySQL 5.7.21(单机) 授人以渔: 1、Spring Boot Reference Documentation This document is also available as Multi-page HTML, Single page
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 MySQL 5.7.21(单机) Redis 4.0.9(单机) 授人以渔: 1、Spring Boot Reference Documentation This document is also available as Multi-page HT
阅读全文
摘要:目录 K.0000 入参为Date类型 K.0000 入参为Date类型 入参为Date类型时,默认情况下发生了错误: 2021-09-01 14:43:19.855 WARN 22940 [io-30005-exec-4] .w.s.m.s.DefaultHandlerExceptionResol
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 kafka_2.13-2.8.0 apache-zookeeper-3.7.0 授人以渔: 1、Spring Boot Reference Documentation This document is also available as Multi-
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 RabbitMQ 3.6.10, Erlang 20.2.2(单机) 授人以渔: 1、Spring Boot Reference Documentation This document is also available as Multi-page
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 Redis server v=4.0.9 (单机,默认配置) 授人以渔: 1、Spring Boot Reference Documentation This document is also available as Multi-page HTML
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 访问Spring Web请求时,可能会出现一些异常(JDK或其它包定义 或 项目自定义的异常),此时,默认情况下,返回给 调用方的是默认信息,比如: 为了 统一响应信息格式 等需求,因此,需要对这些异常 做统一处理。 相关注解: @Controlle
阅读全文
摘要:JAVA 8 Spring Boot 2.5.3 百度百科: 在软件业,AOP 为 Aspect Oriented Programming 的缩写,意为:面向切面编程,通过预编译方式和运行期间动态代理实现程序功能的统一维护的一种技术。 涉及注解: @Aspect、@Pointcut、 @Around
阅读全文
摘要:JDK 8 spring boot 2.4.5 S.B. 使用 Apache Commons Logging 记录日志,但开放了 底层具体日志记录实现,默认的实现提供了 Java Util Logging、Log4j2、Logback。 日志记录 预先配置为 1)输出到控制台(Console),但可
阅读全文
摘要:JDK 8 Spring Boot 2.4.5 Eclipse Version: 2021-03 (4.19.0) 今天安排了一个任务:调查Spring Web(Servlet、Tomcat、HTTP 1.1)应用的 HTTP请求是怎么处理的,于是,熬夜(start at 00:41)到现在才终于了
阅读全文
摘要:JDK 8 Spring Boot 2.4.5 Spring Boot的配置系统 可以分为 2部分:1、自动化配置,2、外部化配置。 说明: 本文主要参考 官方文档 的相关章节编写,尽量写程序测试,内容较多,持续更新(a.k.a 未完待续)。 自动化配置 是指 根据项目的依赖包(特制的)做不同的配置
阅读全文

浙公网安备 33010602011771号