Learn more about Spring cache of SpringBoot series
Why cache
Using cache is a "cost-effective" performance optimization method, especially for programs with a large number of repeated queries. Generally speaking, for WEB back-end applications, there are two places that take a lot of time: one is to query the database, and the other is to call the API of other services (because ...
Posted on Fri, 03 Dec 2021 09:56:12 -0500 by thinkaboutit
Based on SSM (worker management system), add, delete, modify, query, file upload, multi condition search and paging are realized
1, The worker management system contains functions
1. Develop a worker management system using SSM framework, including the following functional requirements:
Realize the addition, deletion, modification and paging list of workersThe ID card of the worker shall be unique, and the uniqueness shall be verified before savingThe ID card of the wo ...
Posted on Fri, 03 Dec 2021 03:18:16 -0500 by wad
Mybatis custom plug-in and PageHelper conflict resolution and public parameter writing
Accumulate a little every day, and you will succeed another day
catalogue
background
Technical scheme
Technical scheme selection
Implementation steps
Query interceptor
Operation interceptor
public entity
Configuring Interceptors
Query interceptor does not take effect
Problem solving
background
...
Posted on Fri, 03 Dec 2021 00:53:37 -0500 by cheshil
Spring Data JPA basic learning
Last time I wrote about JPA, let's talk about Spring Data JPA
Spring Data JPA is a set of JPA application framework encapsulated by spring based on ORM framework and JPA specification. Developers can use very simple code to access and operate the database.
In daily use, Spring Data JPA development frees us from the operation of Dao layer, and ...
Posted on Fri, 03 Dec 2021 00:30:55 -0500 by beesgirl713
[Eureka source code analysis-2] Eureka server module source code analysis
1. Netflix Eureka source code project structure description
Brief description of core modules: (1) Eureka client: This refers to the Eureka client. A service registered on Eureka is a eureka client. Whether you want to register or find other services, whether it is a service provider or a service consumer, it is a eureka client.
(2) eure ...
Posted on Thu, 02 Dec 2021 21:12:52 -0500 by icecube
JDK dynamic agent and CGLIB dynamic agent are really different
Absrtact: This article takes you to understand JDK dynamic agent and CGLIB dynamic agent
This article is shared from Huawei cloud community< This article takes you to understand JDK dynamic agent and CGLIB dynamic agent >, author: skin shrimp.
What's the difference between the two
1, Jdk dynamic proxy: use the interceptor (to imple ...
Posted on Thu, 02 Dec 2021 20:40:48 -0500 by jamesm87
spring series - annotation driven principle and source code - bean component registration
catalogue
1, Environment initialization
1. Environmental preparation
2, Manual injection of bean s
1. xml injection bean
2. Inject beans in @ configuration & @ bean mode
3, Automatically scan registered components and bean s
1. Scan packages using xml
2. Scan with @ ComponentScan
3. Exclusion of packet scanning
4, Other annotation ...
Posted on Thu, 02 Dec 2021 18:15:45 -0500 by kristofferlc
Spring Cloud Gateway series [1] API Gateway overview and Gateway infrastructure construction
API gateway (service gateway)
concept
APl Gateway (API gateway), as its name implies, is an API oriented, serial and centralized strong control service that appears on the system boundary. The boundary here is the boundary of enterprise I system, which can be understood as enterprise application firewall, which mainly plays the role of is ...
Posted on Wed, 01 Dec 2021 17:55:55 -0500 by karlovac
Spring framework IOC ApplicationContext
From the perspective of UML relationship, ApplicationContext and BeanFactory have both inheritance relationship and association relationship
stay As mentioned in, many ApplicationContext implementations refer to a DefaultListableBeanFactory object and delegate bean management operations to it. The following is a code excerpted from G ...
Posted on Wed, 01 Dec 2021 14:17:34 -0500 by jtmathome
Integration framework - Redis
Redis introduction
Redis (Remote Dictionary Server), i.e. remote dictionary service, is an open source log type key value database written in ANSI C language, supporting network, memory based and persistent, and provides API s in multiple languages. Since March 15, 2010, the development of redis has been hosted by VMware. Since May 2013, t ...
Posted on Wed, 01 Dec 2021 12:54:59 -0500 by ayok