As one of springCloud's bucket components, zuul has an indispensable component.As a normal java API gateway, it has its own benefits:
Avoid exposing internal information to the outside; Unified Service End Application Entry; Adding an additional security layer to the microservice; Support hybrid communication protocols; Reduce the complexity ...
Posted by madspof on Mon, 08 Jun 2020 02:10:43 +0200
Popular understanding of spring source code (6) -- Analysis of default tags (import, alias, beans)
The parseDefaultElement method of documentReader is mentioned in the previous section. From this point on, various labels are parsed. Among them, bean label parsing is the most complex. So let's first look at the other three default labels
Posted by shahryar on Sun, 07 Jun 2020 06:03:10 +0200
A simple small salary management system, JavaFX + front-end Spring Boot, has few functions. It focuses on the UI and some logic of the front-end. The back-end is very simple.
User registration / login
Verification code retrieve password
Users modify information, modify Avatar
Display salary in bar cha ...
Posted by poknam on Sat, 06 Jun 2020 12:10:57 +0200
After analyzing the loading of BeanFactory containers, let's take a look at the loading of ApplicationContext, a more complex container that we currently use. Compared with BeanFactory, ApplicationContext has the following differences:
1. Inherit MessageSource and provide international standard access p ...
Posted by MrAdam on Fri, 05 Jun 2020 07:08:29 +0200
How not to enable Hystrix
Because our entry annotation class is replaced by SpringBootApplication from @ SpringCloudApplication, spring cloud circuit breaker will not be enabled. The introduced Hystrix dependency has no effect. Please refer to Section 2 of this series: The way to upgrade Spring Cloud ...
Posted by cedricm on Fri, 05 Jun 2020 05:40:36 +0200
In the previous section, we created a project architecture, which will be supplemented by subsequent projects.
Nacos can be used to discover, configure, and manage microservices. It provides a set of simple and easy-to-use feature sets, which can quickly realize dynamic service discovery, service conf ...
1, Service provider and service consumer
Using microservices to build distributed system, microservices communicate with each other through network. We use service providers and service consumers to describe the invocation relationship between microservices.
The callee of the s ...
Posted by PromaneX on Mon, 01 Jun 2020 05:04:19 +0200
If Maven's dependency is not handled properly, it often leads to some problems, which is very annoying. Today I'd like to share with you a dependency related problem that you may have encountered before.
There is an ES search project, which is still in good condition at the beginning. After a while, it is found that the start ...
Posted by foxy69 on Sat, 30 May 2020 11:57:00 +0200
IOC(Inversion of Control): the so-called inversion of control is that the application itself is not responsible for the creation and maintenance of dependent objects, and the creation and maintenance of dependent objects are in the charge of external containers. In this way, the application of ...
Posted by paulnaj on Sat, 30 May 2020 09:37:49 +0200
In the previous article, we introduced the use of jstat tool in JDK14. In this article, we will further explore the use of jstack tool.
jstack tool is mainly used to print java stack information, mainly java class name, method name, bytecode index, row number and other information.
Blockchain from getting st ...
Posted by unidox on Sat, 30 May 2020 03:56:47 +0200