Spring boot learning: the configuration method of Filter and the implementation principle of spring boot source code

Registration of Servlet, Filter, Listener In the case of spring boot application, because it starts a Servlet engine by itself, and needs to create a ServletContext object associated with the application to bind to the Servlet engine, so that the Servlet engine can receive the request and distribut ...

Posted by TristanOfADown on Thu, 11 Jun 2020 04:25:00 +0200

SpringBoot Distributed Task Middleware Development with video tutorials (hands-on instructions on developing and using middleware)

Author: Little FuBlog: https://bugstack.cn Sediment, sharing, growth, so that you and others can gain something!_ Distributed task DcsSchedule middleware, Github address: https://github.com/fuzhengwei/schedule-spring-boot-starter Distributed Task DcsSchedule Console, Github Address: https://github.com/fuzhengwei/itstack-middleware-control D ...

Posted by quak on Thu, 11 Jun 2020 03:44:00 +0200

Four ways Spring Boot implements timed tasks

Author: Wan QingHua wanqhblog.top/2018/02/01/SpringBootTaskSchedule/ Several ways to accomplish a timed task: Timer: This comes with JavaJava.util.TimerClass, this class allows you to schedule aJava.util.TimerTaskTasks.This allows your program to execute at a certain frequency, but not at a specified time.Less commonly used. ScheduledExecutor ...

Posted by rv20 on Wed, 10 Jun 2020 06:25:42 +0200

quartz timing task, two tables for data persistence

Opening notes If you've got inspiration and thinking here, I hope you'll like it! For different opinions on the content, please write and exchange. Technology stack > > java Email > > 15673219519@163.com describe The system needs to use timed tasks to complete some data processing wor ...

Posted by barbgd on Wed, 10 Jun 2020 06:05:02 +0200

Ape metamorphosis 15 - Spring AOP just looks good

Having read the previous metamorphosis series, I'm sure you have an understanding of mybatis in its application.But it's not enough to complete your metamorphosis. Considering your basics, let's go back to spring and talk about AOP. Ape metamorphosis is also an original series of articles to help yo ...

Posted by Roja on Wed, 10 Jun 2020 03:13:17 +0200

Spring Boot Admin manages monitoring data

The spring boot actuator monitors information about the application.The only disadvantage is that the monitoring information returned is data in JSON format. Another is that under the micro-service architecture, there are many instances of services, it seems impossible to see the monitoring information one by one, and so much address informatio ...

Posted by mdnghtblue on Tue, 09 Jun 2020 18:56:02 +0200

Spring asynchronous call, multithreading, one line code implementation

Spring asynchronous call, multithreading summary quick get start Asynchronous callback Asynchronous exception handling Custom actuator 1. Overview In daily development, our logic is synchronous calling and sequential execution. But in some cases, we want to call asynchronously to separate t ...

Posted by kumschick on Tue, 09 Jun 2020 08:13:32 +0200

The way to open Spring Boot: using JPA to get data

1, Spring initialization 1. Open https://start.spring.io/ , fill in the relevant information of the project on this page, add the corresponding dependencies, and then click "GENERATE" to GENERATE a zip file, decompress it in a suitable location on your computer, and then open the project u ...

Posted by ljschrenk on Tue, 09 Jun 2020 06:16:14 +0200

Using Swagger to test the interface, how do I carry Token in the request header?

Questions from a small partner on WeChat: When he saw this, Songge suddenly thought that I had written Spring Boot+Swagger before: SpringBoot Integration Swagger2 Uses of OAuth2 + Jwt have also been written: Want to have fun with OAuth2 and JWT?See Songgo's performance But they haven't been written together yet, so little buddies have ques ...

Posted by raister on Tue, 09 Jun 2020 02:49:02 +0200

spring-boot blog system

Spring-boot Personal Blog System GitHub: https://github.com/Werdio66/myblog 1. Environmental Construction gradle dependencies: implementation 'org.springframework.boot:spring-boot-starter-data-redis' implementation 'org.springframework.boot:spring-boot-starter-jdbc' implementation 'org.sp ...

Posted by stevietee on Mon, 08 Jun 2020 03:22:50 +0200