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

Spring cloud learning notes

SpringCloud 1, Service registration and discovery Eureka(AP) Service registration is relatively fast, because there is no need to wait for the registration information to replicate to other nodes, and there is no guarantee that the registration information will replicate successfully; When the data ...

Posted by taya on Sun, 14 Jun 2020 22:00:02 -0700

[Java] uses reflection to execute the methods specified by Spring container Bean, and supports automatic calling of multiple parameters

catalog Usage scenarios objective Implementation mode Premise: thinking Core class test method Source sharing Usage scenarios Input the scheduled task into the database (the advantage of this is the visualization of the scheduled task, and the execution time of each task can be modified dynamically), and execute the corresponding method ...

Posted by Chris Val Kef on Sat, 13 Jun 2020 03:06:01 -0700