Spring Boot sends mail. The port number is mysterious!
@[toc]Spring Boot sends emails. Brother song has written articles before, so I won't be wordy here. If you don't understand how Spring Boot sends email, turn to the second half of this article for an introduction.Today, I want to talk to you about the port of SMTP server. This is also a question raised by a small partner. SMTP server has many p ...
Added by pbase on Wed, 16 Feb 2022 06:28:07 +0200
(springboot 03) day52javaEE basic missing
1. Paging query.
//Configure Paging Interceptors
@Configuration
public class MybatisPlusConfig {
@Bean
public MybatisPlusInterceptor mybatisPlusInterceptor(){
//1 Create MybatisPlus Interceptor interceptor object
MybatisPlusInterceptor mpInterceptor=new MybatisPlusInterceptor();
//2 Add Paging Interceptor
...
Added by wulfgar on Tue, 15 Feb 2022 19:22:23 +0200
SpringBoot project initialization
catalogue
1. Create the working directory structure and modify it to yml file.
2. Unified web return object R type.
3. Configure Swagger.
4. Create a custom exception class:
5. Streamline the exception message returned to the front end:
6. Database and tomcat server configuration:
1. Configure tomcat server
2. Configure mySQL
3. Config ...
Added by fredi_bieging on Tue, 15 Feb 2022 15:18:28 +0200
springboot auto scan added BeanDefinition source code analysis
1. During springboot startup, the bean definitions to be loaded will be collected and added to BeanFactory as BeanDefinition objects.
Since there are only getBean and other methods to obtain bean objects in BeanFactory, adding BeanDefinition to BeanFactory is through void registerBeanDefinition(String beanName, BeanDefinition beanDefinition) t ...
Added by woodsy2k on Tue, 15 Feb 2022 07:55:42 +0200
SpringBoot distributed, Dubbo, zookeeper
catalogue
What is a distributed system?
Dubbo document
Single application architecture
Vertical application architecture
Distributed service architecture
Flow computing architecture
RPC
Test environment construction
Dubbo
Dubbo environment construction
Installing zookeeper under Window
Install Dubbo admin under Windows
SpringBoot + ...
Added by nielskg on Tue, 15 Feb 2022 04:31:06 +0200
Using SA token to solve WebSocket handshake authentication
preface
Compared with the single communication mode of Http, WebSocket can actively push messages from the server to the browser. This feature can help us complete some specific services such as order message push, IM real-time chat and so on.
However, WebSocket itself does not provide direct support for "identity authentication", a ...
Added by ShootingBlanks on Mon, 14 Feb 2022 06:03:20 +0200
Section 11: spring boot integration log4j2 log
SpringBoot uses logback by default, but there is a higher performance logging implementation framework log4j2Why log4j2Compared with other log systems, log4j2 has less data loss; The performance of disruptor technology is more than 10 times higher than that of logback in multi-threaded environment; Using jdk1 5 concurrency, which reduces the oc ...
Added by mwaw on Mon, 14 Feb 2022 05:53:30 +0200
Gateway Series 2: comparison of common Java gateway implementation schemes
What is a service gatewayPreviously, we have learned about the basic springboot for building micro services, and we can also use springboot to build services. Next, let's talk about springcloud based on springboot. This spring cloud is not a specific technology. It refers to an ecosystem in microservices. For example, it includes gateway, regis ...
Added by Patrick on Sun, 13 Feb 2022 10:59:04 +0200
"springcloud 2021 series" Spring Boot Admin is the simplest micro service application monitoring
Source address: https://github.com/langyastudio/langya-tech/tree/master/spring-cloud
Spring Boot Admin brief introduction
SpringBoot applications can expose various indicators in the running process of the application through the activator. Spring Boot Admin monitors the SpringBoot application through these indicators, and then presents them ...
Added by cornick on Sun, 13 Feb 2022 06:09:04 +0200
SpringBoot @Async asynchronous multithreading
1, Introduction
1. Concept
Synchronization: synchronization refers to the sequential execution of the whole processing process. When each process is completed, the result is returned. Asynchrony: asynchronously invoking is just sending the called instruction, and the caller does not need to wait for the called method to be fully executed; ...
Added by kid_drew on Sun, 13 Feb 2022 02:08:19 +0200