How to integrate custom SPI with sentinel to realize fuse current limiting

preface We talked before Talk about how to implement an SPI with interceptor function . At that time, the core idea of our implementation was to use responsibility chain + dynamic agent. Today, let's talk about how to integrate sentinel to realize fuse current limiting through dynamic agent Pre knowledge Introduction to alibaba sentinel Se ...

Posted on Tue, 07 Dec 2021 03:39:45 -0500 by alexinjamestown

Summary of common Spring Boot annotations

  Summary of common Spring Boot annotations 1, Start annotation @ SpringBootApplication @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan(excludeFilters = { @Filter(type = FilterType.CUSTOM, classes = TypeExcludeFilter.class), @Filter(type = ...

Posted on Tue, 07 Dec 2021 01:46:28 -0500 by AMV

Thymeleaf foundation and springboot integration

1, Meet Thymeleaf Students who have worked on the SSM web project know that when we want to interact with the back-end data on the HTML page, we have no choice but Ajax, and the use of JSTL on the HTML page is not supported. At this time, we need to use the JSP page - a special java class (servlet in essence). However, the compatibility betwee ...

Posted on Mon, 06 Dec 2021 17:03:56 -0500 by Prine

SpringBoot -- container function

SpringBoot -- container function 1. Component addition First, create two bean s, one called User and the other called Food. Previously, in SSM, component and attribute injection needed to be set in the Configuration file. The whole process can now be implemented in full code using SpringBoot. Create a Configuration class, mark it with @ Conf ...

Posted on Mon, 06 Dec 2021 13:46:14 -0500 by graphic3

Re learn the integrated distributed file system of SpringBoot series

Local file upload and access service The core content of this chapter is to introduce the distributed file system, which is used to store the image, word, excel, pdf and other files of the application. Before introducing the distributed file system, let's introduce the use of native storage to store file resources. The core implementati ...

Posted on Mon, 06 Dec 2021 00:21:24 -0500 by bluejay002

SpringBoot -- Conditional annotation for detailed explanation and application of automatic assembly principle

         As the mainstream framework of today's development, SpringBoot is impossible as a java developer. It is typical and easy to use, but when you understand the principle, you will unconsciously sigh, really TMNB!         This paper mainly explains the principle of its automatic ...

Posted on Sun, 05 Dec 2021 12:59:37 -0500 by jeff_valken

Spring Boot integrates RabbitMQ

Application scenario 1. Asynchronous processing Scenario: after registration, users need to send e-mails and text messages after successful registration. There are two traditional methods: Serial mode: after the registration information is written into the database, send the email of successful registration. After the email is sent successf ...

Posted on Sun, 05 Dec 2021 07:30:05 -0500 by phpknight

Re learn the integration and use of e-mail sending in Springboot series

Basic protocol and mail configuration integration Noun concept interpretation What are POP3, SMTP, and IMAP? Simply put: POP3 and IMAP are used to download mail from the server. SMTP is used to find the next destination when sending or forwarding a message. So we should use SMTP protocol to send mail. What is the free email client a ...

Posted on Sun, 05 Dec 2021 05:11:14 -0500 by epp_b

Deep parsing: understand how MyBatis is initialized in the Spring container

The initialization process of MyBatis is to generate some necessary objects and put them into the Spring container. The question is what objects are generated by this process? When MyBatis initialization fails, how to correctly find the entry point to analyze the problem? This paper will introduce these problems. Based on MyBatis 3 and Spr ...

Posted on Sun, 05 Dec 2021 02:38:20 -0500 by capslock118

The Java non Web Springboot project is packaged and deployed to the Linux server (Maven, Gradle)

preface Let's start directly. Non Web project deployment is very simple without complicated configuration 1, Modify pom.xml configuration file Let me take Maven as an example This is the case when my project is started locally. It is the same when the server is started after deployment. Stop it first. Open pom.xml, compare whethe ...

Posted on Sun, 05 Dec 2021 01:27:33 -0500 by meomike2000