springboot-07 - template engine Thymeleaf

In the past, we usually turned the html page given to us by the front end into a jsp page, and easily realized the data display and front-end and back-end interaction through jsp. However, spring boot does not support jsp by default. If you directly use pure static pages, the development will be very troublesome, which introduces the template e ...

Posted by Highland3r on Mon, 04 Apr 2022 20:57:07 +0300

SpringBoot Learning Notes

springboot Learning Notes 1. Integrating databases Configuration of database connections spring: datasource: username: root password: root url: jdbc:mysql://localhost:3306/mybatis?useUnicode=ture&characterEncoding=utf-8&serverTimezone=UTC driver-class-name: com.mysql.jdbc.Driver Integrate druid Import Dependency ...

Posted by davidska on Mon, 04 Apr 2022 20:13:58 +0300

Building ruoyi Vue management system from scratch -- implementation of integrated log

The corresponding excerpt code file after the end of this chapter: Gangbb-Vue-05-Log Historical legacy TODO: Chapter III The mybatis cache is not used for the time being. After integrating redis, redis will be used as the cache (the integration of redis is completed).Rewrite the mybatis configuration file and scan the mapper (the log inte ...

Posted by im8kers on Mon, 04 Apr 2022 11:26:07 +0300

Spring boot based SSMP (Spring + spring MVC + mybatisplus) integration case)

● case realization scheme analysis ◆ entity class development - use Lombok to quickly create entity classes ◆ DAO development - integrate MyBatisPlus and make data layer test classes ◆ Service development - carry out incremental development based on MybatisPlus and make business layer test classes ◆ Controller development - based on Restful dev ...

Posted by iamali on Mon, 04 Apr 2022 10:35:32 +0300

Spring cloud openfeign use and configuration, Java OpenFeign tutorial

Spring cloud openfeign use and configuration, Java OpenFeign tutorial Spring cloud feign log control printing configuration and spring cloud feign timeout configuration   ================================ © Copyright sweet potato Yao 2021-03-11 https://www.cnblogs.com/fanshuyao/   1, SpringCloud OpenFeign overviewspring-cloud-openfeignDecla ...

Posted by westair on Mon, 04 Apr 2022 06:33:07 +0300

Learning notes of Spring Boot microservice project (version 2) - Chapter 2 integrating MySQL database

This chapter will introduce how to install and use mysql, integrate MySQL database with Spring Boot, integrate Druid with Spring Boot, and explain the specific application of Spring Boot through examples. MySQL introduction and installation There are many database types, such as relational databases such as MySQL and Oracle, and non relationa ...

Posted by MatrixGL on Sun, 03 Apr 2022 15:21:29 +0300

This article introduces you to the implementation of sub database and sub table by using sharding JDBC

preface: Today, let's talk about sharding JDBC sub database and table middleware. This middleware belongs to the application layer dependent middleware, which is strongly coupled with the application layer. It needs to display and add the dependent Jar package in the application; After a brief talk about sharding JDBC, this article main ...

Posted by Chris_Mc_1985 on Sat, 02 Apr 2022 20:53:40 +0300

Redis, one-stop high-performance storage solution

Project source code can be found in https://gitee.com/ShayneC/community obtain Redis, one-stop high-performance storage solution 1. Introduction to redis Redis is a NoSQL database based on key value pairs. Its values support a variety of data structures: Strings, hashes, lists, sets, sorted sets, etc.Redis stores all data in memory, so i ...

Posted by kesmithjr on Sat, 02 Apr 2022 08:19:32 +0300

Interpretation of spring MVC request mapping handler source code

Request mapping source code First of all, let's look at a complete flow chart of the request (here we thank the great God in the blog Park, I forgot the blog address): How does the access request sent from the foreground to the background find the corresponding controller mapping and perform subsequent background operations? Its core is dispat ...

Posted by scofansnags on Fri, 01 Apr 2022 21:44:36 +0300

JeecgBoot adopts HTTPS deployment scheme

1, Background With the increasingly stringent security requirements of various platforms (for example, the docking of wechat applet must use HTTPS access), the HTTPS of the website is imperative. 2, Access requirements To connect a service to HTTPS service, at least the following steps are required: Purchase SSL certificate from author ...

Posted by kel on Fri, 01 Apr 2022 21:23:35 +0300