When cleaning Github, we found a simple distributed task distribution system written before ClawHub/task-distribution , using zk's select master and queue, the scheduler uses spring's ThreadPoolTaskScheduler, and the task supports cron expression.
This reminds me that I also encapsulated Quartz before. What I did at that time was ...
Posted by renegade33 on Sat, 07 Dec 2019 06:10:21 -0800
Recently, I'm still learning to read the source code of Spring Boot. In this process, I've involved many features that are rare in daily projects. It's interesting to study this in depth, which is also one of the charms of reading the source code. Write an article here and share it with you.
ObjectProvider in auto configuration
When reading the ...
Posted by Jeremias on Sat, 07 Dec 2019 05:20:37 -0800
Spring security integration OAuth2 is recognized by developers as the best matching partner for resource protection and service authentication. This pair of good friends have been quietly guarding the security of application services. According to the different roles of visitors, they can control the granularity to specific interfaces, so as to ...
Posted by charlieholder on Sat, 07 Dec 2019 05:17:58 -0800
springboot is very simple to start a transaction, only one annotation is needed @Transactional Just fine. Because in springboot, events have been enabled for jpa, jdbc and mybatis by default. When they are introduced, things will be enabled by default. Of course, if you need to use other orm, such as beatlsql, you need to configure the relevant ...
Posted by jasonman1 on Sat, 07 Dec 2019 04:24:59 -0800
For the basic configuration of the project, please refer to the introduction to Springboot I. use myEclipse to create a new Springboot project and myEclipse to create a new Springboot project. Now let's add an Activiti5.22 support to the project. Spring boot uses version 2.0.7 (later, trying to upgrade to 2.1.1 and 2.2.1 is a failure). The det ...
Posted by barbs75 on Sat, 07 Dec 2019 02:52:56 -0800
Several notification types in SpringAOP and how to create simple notifications have been described previously See address
1. What is the starting point
In the previous example, we could create a ProxyFactory to create notifications and get the methods in the target class.Different types of notifications allow you to do different things with the ...
Posted by jamesl on Fri, 06 Dec 2019 23:37:43 -0800
The previous article described how to use the RestTemplate of Ribbon for service calls. In addition to this way of service invocation, it can also be called through Feign. This article is a brief introduction to how to use Feign for service invocation. Make changes based on the items used in the previous article.
Feign use process
Posted by pessi on Fri, 06 Dec 2019 18:41:39 -0800
Preface to the night light:
Cherry trees can't keep the pace of March. ~ ~
The underlying principle of aspect oriented programming is dynamic agent implementation. If there is interface implementation for the aspect strategy, the dynamic proxy technology of JDK is used; if there is no interface implementa ...
Posted by JustFoo on Fri, 06 Dec 2019 10:47:12 -0800
One project wants to call the functionality of another
"User management system" calls "commodity management system",
We call it "remote call". At this time, "user management system" is equivalent to simulating "browser".
2. Call mode
RPC: the remote call mode of c ...
Posted by callmubashar on Fri, 06 Dec 2019 04:33:48 -0800
1. Initialize Spring Cloud
1.1 what is microservice
Microservice is an architectural style that divides a single application into small service units
1.2 what is Spring Cloud
Spring Cloud is a collection of frameworks
Using the development convenience of Spring Boot, the development of distributed system is simplified
1.3 common modules of ...
Posted by jklanka on Fri, 06 Dec 2019 04:00:22 -0800