For a while, a dynamic thread pool was created, and the source code was put on Github, which suddenly caught fire

From: ape world, address: https://juejin.im/post/5ee9a2e7e51d457423261adb Explain the background Thread pool is still used in daily work. When asynchronous and batch processing tasks are needed, we will define a thread pool to handle them. There are some problems in the process of using thread p ...

Posted by knetcozd on Wed, 17 Jun 2020 20:45:16 -0700

Spring Boot: Spring Boot integrates RabbitMQ

preface RabbitMQ is a message queue. When it comes to message queues, you may have heard of it more or less. Its main function is to realize asynchronous and decoupling of application services, as well as to cut peak, fill valley and distribute messages. One of the main functions of message queuing in ...

Posted by .Stealth on Wed, 17 Jun 2020 19:10:40 -0700

Practical tutorial of using JWT token in OAuth2.0 series

Practical tutorial of using JWT token in OAuth2.0 series (8) 1. Introduction to the preface 2. Example experiment verification 3. Simple function test OAuth2.0 blog series: Basic concepts and operation process of OAuth2.0 series (1) OAuth 2.0 series authorization code mode practice tutorial (2) O ...

Posted by jstarkey on Wed, 17 Jun 2020 00:18:06 -0700

Spring boot integrates redis trampling diary

In addition to providing excellent automatic testing for common relational databases, spring boot also provides automatic configuration support for many NoSQL databases, including redis, mongodb, elastic search, Solr and Cassandra. 01 integrate redis Redis is a very fast non relational database. It can store the mapping between key and five di ...

Posted by carrotcake1029 on Tue, 16 Jun 2020 21:16:33 -0700

Spring MVC core technology

Spring MVC core technology 1, Request redirection and forwarding When the processor finishes processing the request and jumps to other resources, there are two ways: request forwarding and redirection. According to the type of resources to jump, it can be divided into two categories: jump to page an ...

Posted by classifieds100 on Tue, 16 Jun 2020 20:48:28 -0700

Spring Series.A Brief Analysis of AOP Principle

Introduction to using Spring AOP The two core functions of Spring are IOC and AOP.It's convenient when we use Spring's AOP functionality.You just need to configure it below. @Component @Aspect public class MyAspect { //PointCut matching methods must be methods of bean s in Spring //Pointcut s can be defined in the following ways or combined in ...

Posted by nomadrw on Tue, 16 Jun 2020 18:45:04 -0700

Spring Boot application monitoring

When a Spring Boot application is running, developers need to monitor the Spring Boot application in real time to get the alarm demand of the project. Spring Boot provides the actor to help developers get the data of the application at runtime. Endpoint Configuration Adding endpoint configuration to Spring Boot is quite simple.Just add spring ...

Posted by damic on Tue, 16 Jun 2020 01:18:49 -0700

SpringBoot send mail from multiple email sources

preface                                 . Realization ideas Spring boot starter mail will spring.mail.xxx The related configuration automatically configures JavaMailSender. But only a s ...

Posted by Xyox on Tue, 16 Jun 2020 01:11:25 -0700

Spring: don't BeanDefinition&PostProcessor know something about it?

Rice: I saw the source code of BeanDefinition, BeanFactoryPostProcessor and BeanPostProcessor these two days. Do you want to know Melon: six six six, big man Rice: last time we said that spring IOC container is a typical factory model If we compare Spring to a large factory producing models, then. class files are raw materials. Bean definit ...

Posted by border20 on Mon, 15 Jun 2020 20:44:44 -0700

Spring Boot - In-depth Principle - Automatic Configuration

2.2.2 Automatic Configuration The ability to automatically configure for us when we add jar package dependencies allows us to run written projects without configuring or with a small number of configurations. Question: How on earth does Spring Boot automatically configure its components? 2.2.2.1 @SpringBootApplication The entry where the Sprin ...

Posted by carsale on Mon, 15 Jun 2020 10:37:14 -0700