The eighth day of health management project (background login to realize authentication and authorization, graphic report echards)
We have learned how to use the Spring Security framework. In this chapter, we need to apply the Spring Security framework to the background system for permission control. Its essence is authentication and authorization.
To carry out authentication and authorization, we need to support the seven tables i ...
Posted by leonglass on Mon, 29 Jun 2020 00:12:28 -0700
How Dubbo's XML is used and how it integrates with Spring
catalog
How Dubbo's XML is used and how it integrates with Spring
ServiceClassPostProcessor
Implemented BeanDefinitionRegistryPostProcessor class
How the bean instance of ServiceClassPostProcessor is injected into the container in advance.
The definition of DubboNamespaceHandler, the parsing class ...
Posted by Kower on Sat, 27 Jun 2020 21:27:35 -0700
dubbo service grouping, current limiting measures and service fusing degradation
Order module issues
1. Split the order module horizontally and vertically.
There will be more and more data in the order table in the e-commerce platform. In order to better business expansion, the database table needs to be split.
Horizontal split is divided into clothing order table, home applianc ...
Posted by alpha_juno on Sat, 20 Jun 2020 01:55:04 -0700
Manual wheel building -- RPC framework dotnetcore RPC based on. NetCore
preface
Since there are not so many restrictions between internal services, the most simple and clear way is the most appropriate way. I prefer the way of using Dubbo. I separate the interface layer as the contract of the service. The server provides the service with this set of contract, and the client uses this set of contract to call the se ...
Posted by CanMan2004 on Sat, 13 Jun 2020 04:10:01 -0700
How does Netty work in Dubbo?
Author: Mona Rudowhttps://www.cnblogs.com/stateis0/p/9062171.html
As we all know, the bottom layer of Dubbo, a well-known domestic framework, is Netty As a network communication, how on earth is it used internally?Today we'll explore.
1. How Dubbo's Customer uses Netty
Note: This code uses the dubbo-demo example from the Dubbo source of clo ...
Posted by DaveMate on Wed, 06 May 2020 19:59:44 -0700
Several ways to register Spring Bean
All roads lead to dragons and horses
Premise: please https://blog.csdn.net/dong19891210/article/details/105697175 In case of
Spring bean s can be registered in the following ways:
1. Register through GenericBeanDefinition
Example code:
Message helper class
public class Message {
private String message;
public String getMessage() {
retu ...
Posted by mahaguru on Mon, 27 Apr 2020 21:21:30 -0700
Java Thread Foundation, Start with this
Threads, as the smallest dispatching unit in the operating system, generally have multicore processors in the current operating environment. In order to make better use of CPU, master its correct use, and make the program run more efficiently.It is also an extremely important module in Java interviews.
Introduction to Threads
A program that ...
Posted by bradymills on Mon, 20 Apr 2020 18:52:20 -0700
Deep understanding of ServiceLoader class and SPI mechanism
Recently, we are reconstructing projects ourselves. In order to meet the 82 principle (I hope 80% of businesses can be fixed by exhausting, and only 20% of businesses allow special definitions), after fixing some standard processes, for example, we have enlarged the capability of atomic services. When we enlarge the capability of atomic service ...
Posted by alexinjamestown on Sat, 04 Apr 2020 01:02:54 -0700
Understanding Feign Source for Spring cloud Source Text
Introduction to Feign
In the previous article, we analyzed Eureka's registration, renewal, service culling, service self-protection and other mechanisms. https://blog.csdn.net/lgq2626/article/details/80288992 .This article analyzes the feign of SpringCloud.Calls between SpringCloud micro-service items are made through httpress requests, which w ...
Posted by Mount Tropolis on Fri, 03 Apr 2020 23:55:28 -0700
dubbo source code analysis 5 -- ServiceBean publishing service
Publishing service ServiceBean
Release entrance
ServiceBean implements the afterpropertieset() method of the interface InitializingBean
public void afterPropertiesSet() throws Exception {
//Set provider, application, registers
//Publishing service
if (!isDelay()) {
export();
}
}
If the service has ...
Posted by danf_1979 on Mon, 30 Mar 2020 12:53:21 -0700