Spring boot redis cache sets the effective time and auto refresh cache, and the auto refresh time is set in the annotation
Spring boot redis cache sets the effective time and auto refresh cache, and the auto refresh time is set in the annotation.
preface
This article mainly supplements the spring redis cache used by small partners. Spring redis cache is a general solution. Although spring redis cache has been very power ...
Posted by theverychap on Tue, 23 Jun 2020 11:00:59 +0200
magical! The new objects can also be managed by the Spring container!
It's reasonable to say that the objects from new have nothing to do with containers, but in the Spring Security framework, there are many new objects that can also be managed by containers, so how does it do it?
Today, I'd like to talk with you about a little cold topic. What is the use of ObjectPostProcessor in Spring Security?
This is the 32n ...
Posted by Dynamis on Tue, 23 Jun 2020 06:35:34 +0200
Common use and configuration of Nginx
summary
What is Nginx?
Nginx (engine x) is a lightweight Web server, reverse proxy server and email (IMAP/POP3) proxy server.
What is reverse proxy?
Reverse Proxy means that the proxy server accepts the connection request on the internet, then forwards the request to the server on the internal netwo ...
Posted by neoboffins on Tue, 23 Jun 2020 06:04:08 +0200
Spring boot principle: the starting principle of source code analysis
catalog
1, Introduction to spring boot analysis
2, Spring boot annotations to be covered
1.@SpringBootApplication
2.@SpringBootConfiguration
3.@EnableAutoConfiguration
4.@AutoConfigurationPackage
5. Some annotations in the xxxautoconfiguration class
3, Spring application initialization proces ...
Posted by aseaofflames on Mon, 22 Jun 2020 10:48:12 +0200
The second Spring source! XML file parsing process
Spring source code continues to open!
Last article In, brother song shared with you the loading method of configuration files in Spring. If you haven't seen it yet, you must have a look at it first, which will help you better understand this article. Portal: The first part of Spring source code is open and complete! How is the configuration fil ...
Posted by MastahUK on Mon, 22 Jun 2020 05:05:50 +0200
Fall 2018 web training log 0928
Morning:
AOP programming:
Notification class, target class, enhanced code, weaving process, join point (pointcut)
Pre notice, post notice, final notice, exception notice
AOP can be used to isolate all parts of business logic, so as to reduce the coupling between all parts of business logic,
Improve ...
Posted by bazza84 on Sun, 21 Jun 2020 12:46:06 +0200
java framework SSM learning -- Spring's transaction control
When it comes to Spring AOP, we are going to enhance transaction control by ourselves, and the Spring framework is ready for us to use these functions. Of course, don't think that SrpingAOP can only enhance the transaction function. AOP can be used to enhance any method you want to enhance. So how do ...
Posted by supernova on Sun, 21 Jun 2020 10:18:32 +0200
User verification and authorization process call stack 2 of shrio (detailed)
shiro's process of permission management
1, Login authentication
After the request is initiated: it will judge which permissions are needed through doFilter. Before reviewing shiro, you need to have a certain understanding of springMvc. According to the debug, review the processing flow of MVC - a ...
Posted by ClaytonBellmor on Sat, 20 Jun 2020 08:52:06 +0200
MyBatis - Introduction
MyBatis - Introduction
Frame at a glance:
(1) Framework to solve technology integration problems: Spring framework is created due to the complexity of software development.
(2) The MVC framework to solve the problem of WEB layer: Spring MVC.
(3) The framework to solve the problem of data persistence: ...
Posted by hookit on Fri, 19 Jun 2020 06:20:22 +0200
Spring boot integrates redis to realize message queue -- asynchronous receiving and multithreading sending
1, Publish message to redis
1. Create a new springboot project
Create a new redis queue for the springboot project.
2. Introduce dependency
The introduction of related dependencies, in which lombok is used, requires the installation of lombok plug-ins.
<?xml version="1.0" encoding="UTF-8"?>
...
Posted by sixdollarshirt on Thu, 18 Jun 2020 12:28:50 +0200