Spring cloud gateway dynamic routing
View SringCloud Gateway Official documents , the working principle of Gateway is shown in the figure below:
Clients make requests to Spring Cloud Gateway. If the Gateway Handler Mapping determines that a request matches a route, it is sent to the Gateway Web Handler. This handler runs the request through a filter chain that is speci ...
Added by antonbrk on Sat, 29 Jan 2022 04:42:52 +0200
SpringCloud, Eureka, service registration, project call between services
preface
This blog will introduce the establishment and simple use of Eureka registry of spring cloud, which is mainly divided into the following aspects:1. Overall structure of the project;2. Construction process and detailed explanation of each service;3. Simple call between Eureka services;
1, What is Eureka?
Eureka is the registra ...
Added by b2k on Sat, 29 Jan 2022 03:58:09 +0200
Spring cloud (primary version) notes (most detailed) Mr. Zhou Yang
I Microservice architecture coding construction
1. Create parent project
2. Aggregate parent project name
3.Maven selected version
Note: maven selects version 3.5 or above
Remember: agreement > configuration > coding. Build the environment before coding
4. Character coding
5. Note validation activation
6. Select 8 for Jav ...
Added by TheIrishThug on Sat, 29 Jan 2022 03:17:39 +0200
How to use multi-level menus in the back end (and how to solve cross domain)
preface
Yesterday, we wrote a back-end interface that returns data in a tree structure. Today, we will talk about how the front-end receives and uses these data
preparation
Introduction: our back-end is to use the scaffold project of Renren open source project above gie. Why use the scaffold project, because it can greatly improve our work e ...
Added by victor78 on Sat, 29 Jan 2022 02:51:26 +0200
Application and principle of Dubbo
Here are the Dubbo used in the project and some knowledge about Dubbo you know. Plus assistant v: xiehuangbao1123 Get java learning materials and the latest interview materials
What is Dubbo?
Dubbo [] is a distributed service framework, which is committed to providing high-performance and transparent RPC remote service invocation scheme ...
Added by joix on Fri, 28 Jan 2022 23:32:03 +0200
Spring framework - spring overview and IOC container
Spring framework overview
Spring is a lightweight open source Java EE frameworkSpring framework can solve the complexity of enterprise application development.Spring has two core parts: IOC and AOP.
IOC: control inversion, leaving the process of creating objects to Spring for management.AOP: aspect oriented, no source code modification, fun ...
Added by dragonusthei on Fri, 28 Jan 2022 18:04:33 +0200
Make a QQ robot with JAVA, help me remind the goddess to drink water on time and chat with her ~ (with source code)
Wechat robot will have the chance to be granted a title and will not open the tutorial for the time being1. ForewordThe average daily water consumption of normal people is 2000-2500 ml, and the oxidation of substances in the body can produce 300 ml of water. Therefore, 2200 ml of water should be added every day, including the water content in t ...
Added by CK9 on Fri, 28 Jan 2022 17:54:49 +0200
Some annotation functions of Spring
1,@Autowired
@Autowired(required=true): indicates that the object must be successfully injected during automatic injection, otherwise an error is reported. Default is true@Autowired(required=false): it means that the object is not a required object during automatic injection. If there is, it will be injected. If there is no error, it will not ...
Added by -twenty on Fri, 28 Jan 2022 17:18:53 +0200
what? The code is full of if else
preface
"Have you been bothered by if else in the code?"
"Has the idea of sharpening the knife to it been premeditated for a long time?" "But suffer from no good way?" Come on, xdm, I'll make a fool of myself here, throw away the jade and post my solutions for everyone's reference.
Everyone must be familiar ...
Added by capitala on Fri, 28 Jan 2022 16:37:48 +0200
@ ConfigurationProperties guide in Spring Boot
1, Introduction
Spring Boot has many useful features, including externalized configuration and easy access to properties defined in the properties file. Earlier course Various ways to do this are described.
We will now explore the * @ ConfigurationProperties * annotation in more detail.
2. Setting
This tutorial uses fairly standard settings ...
Added by tsilenzio on Fri, 28 Jan 2022 07:37:08 +0200