Spring zuul Quick Start Practice--Service Forwarding Implementation Resolution

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 -- Analysis of default tags (import, alias, beans)

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 pr ...

Posted by shahryar on Sun, 07 Jun 2020 06:03:10 +0200

A small salary management system with JavaFX+SpringBoot + verification code function

1 General 1.1 INTRODUCTION 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. Main functions: 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

Spring IOC source reading notes (10)

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

Spring Cloud upgrade road - Hoxton - 4. Use Resilience4j to achieve instance level isolation and fusing

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

How to use the creation of Nacos and gateway center in Java Spring Cloud practice? 80% won't

  0. Preface In the previous section, we created a project architecture, which will be supplemented by subsequent projects. 1. Nacos 1.1 INTRODUCTION 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 ...

Posted by dyip on Thu, 04 Jun 2020 07:55:37 +0200

Spring Cloud -- Spring Cloud microservice practice

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. noun definition Service provider The callee of the s ...

Posted by PromaneX on Mon, 01 Jun 2020 05:04:19 +0200

This problem Maven relies on, you dare say you haven't met

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. Problem background 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 details of Spring (based on annotation)

concept 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

JDK14 performance management tool: introduction to jstack

brief introduction 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. More highlights: Blockchain from getting st ...

Posted by unidox on Sat, 30 May 2020 03:56:47 +0200