240 发简信
IP属地:北京
  • SpringBoot starter机制

    SpringBoot starter机制 ​ SpringBoot由众多Starter组成(一系列的自动化配置的starter插件),Sprin...

  • 项目初始化启动过程

    项目初始化启动过程大致包括以下部分: - 第一步:获取并启动监听器 this.getRunListeners(args)和listeners.s...

  • 编写多语言国际化配置文件

    编写多语言国际化配置文件 ​ 在项目的类路径resources下创建名称为i18n的文件夹,并在该文件夹中根据需要编写对应的多语言国际化文件lo...

  • 完成数据的页面展示

    完成数据的页面展示 1. 创建Spring Boot项目,引入Thymeleaf依赖 ​ 2. 编写配置文件 ​ 打开application.p...

  • 编写Web访问层Controller文件

    编写Web访问层Controller文件 java @RestController @RequestMapping(“api”) //窄化请求路...

  • 自定义RedisCacheManager

    自定义RedisCacheManager ​ 在项目的Redis配置类RedisConfig中,按照上一步分析的定制方法自定义名为cacheMa...

  • Redis注解默认序列化机制

    Redis注解默认序列化机制 打开Spring Boot整合Redis组件提供的缓存自动配置类RedisCacheConfiguration(o...

  • spring优缺点分析

    1.2.1 spring优缺点分析 优点: spring是Java企业版(Java Enterprise Edition,JEE,也称J2EE)...

  • Spring Boot基础

    1.1 约定优于配置 Build Anything with Spring Boot:Spring Boot is the starting p...