Springboot connects redis for CRUD:
1. Add the following dependencies:
org.springframework.boot
spring-boot-starter-data-redis
redis.clients
jedis
2.9.0
2. Configure r
Springboot connects redis for CRUD:
1. Add the following dependencies:
org.springframework.boot
spring-boot-starter-data-redis
redis.clients
jedis
2.9.0
2. Configure r
We often use the thread pool service provided by ThreadPoolExecutor. The springboot framework provides @Async annotation to help us more easily submit business logic to the thread pool for asynchro
Recently encountered a problem in the project. For a newly created activity, the activity set the start time and end time, which is just a status code change in the database. However, there is a pr
Springboot is a framework developed by Spring to quickly build javaWeb projects. Its biggest feature is that it is simple and fast, which simplifies a large number of configuration files for Spring
To prevent duplicate submissions, it is mainly handled in the form of locks. If it is a stand-alone deployment, you can use a local cache lock (Guava). If it is a distributed deployment, you need t
The source code of this article: GitHub·click here|| GitEE·click here
(1), demonstration drl file format
package droolRule ;
import org.slf4j.Logger
import org.slf4j.LoggerFactory ;
di
1. Requirements
1. Certain IP addresses and ports are restricted in the project, and only the content (ip) written in the configuration file can access the project.
2. When running the
First introduce the maven dependency: this is the dependency that needs to be introduced when reverse engineering when integrating mybatisplus
com.baomidou
mybatis-plus-boot-starter
2.3
The source code of this article: GitHub·click here|| GitEE·click here
1) Basic components
Eureka components, service registration and discovery
Ribbon and Feign components to achi