Configuring a nacos cluster with nacos+nginx
SpringCloud Alibaba
Nacos
What is Nacos
Nacos is the first two letters of Naming and Configuration, and the last S is Service
A dynamic service discovery, configuration management and service management platform that is easier to build cloud native applications
Nacos is the combination of registration center + configuration center Eureka+C ...
Posted by cjacks on Thu, 17 Feb 2022 20:45:03 +0100
Application of RabbitMQ in practical projects
Application of RabbitMQ in practical projects
Business scenario
explain:
For some reasons, the specific business is not explained. The general business scenario is that module A will send A message to module B, and module B will update the local cache encache And module B is A cluster deployment in the project.
Switch selection:
1. fa ...
Posted by poe on Thu, 17 Feb 2022 14:48:24 +0100
Public enumeration component Enum
rdf-component-enum
Do you worry about adding several methods to get values or enumeration every time you add an enumeration class? Although they are just copy and paste, they are still unbearable. The existence of this component is to solve this problem.
1, Effect
This component provides the basic functions of enumeration and some commo ...
Posted by sabbagh on Thu, 17 Feb 2022 11:35:40 +0100
Uninstallation, reinstallation and configuration of super detailed maven
For image download, domain name resolution and time synchronization, please click Alibaba open source mirror station
1, maven uninstall
maven only configures the environment variable and local warehouse when it is used. We only need to delete the local warehouse and remove maven's environment variable from the environment variable.
1. Delete ...
Posted by azylka on Thu, 17 Feb 2022 06:09:50 +0100
Necessary Spring framework learning notes for beginners
Spring is a widely used framework in the process of Java Web development. It is a lightweight application framework. Its powerful function and excellent performance are loved by many developers.In the actual project development process, the server is divided into three layers: presentation layer (Web), business logic layer (Service) and persist ...
Posted by ditusade on Wed, 16 Feb 2022 09:24:33 +0100
AOP is developed based on pure annotation
catalogue
preface
1, Pure annotation development
2, Operation steps
1. Import dependency
2. Create the target interface, define the abstract method, implement the implementation class of the target interface, and rewrite the method (target method)
3. Create a notification class and define notification methods
4. Create Spring core config ...
Posted by dthomas31uk on Tue, 15 Feb 2022 10:51:35 +0100
Power node - mother Wang Springboot tutorial Thymeleaf template engine
Chapter 9 Thymeleaf template engineOfficial download addressPower node springboot dataVideo viewing addresshttps://www.bilibili.com/vide...Thymeleaf: it is a template technology developed in java and runs on the server side. Send the processed data to the browser.The template works as a view layer. Displays the of the data. Thymeleaf is based o ...
Posted by sweyhrich on Tue, 15 Feb 2022 10:47:27 +0100
Spring security implements oauth2 0 - separation of authorization service and resource service
How to build OAuth2.0_01_basic edition authorization service by spring security and advanced edition authorization service by spring security are introduced in two articles 0 authorization server and resource server.
This article will continue to optimize, separate the authorization server and resource server, and deploy them on different serv ...
Posted by will35010 on Tue, 15 Feb 2022 09:30:13 +0100
AOP programming of Spring (aspect oriented programming)
catalogue
preface:This article mainly uses XML to configure AOP
1, AOP concept
2, Advantages of AOP
3, Use steps
1. Import dependency
2. Create the target interface, create the implementation class, and define the target method (connection point)
3. Create a notification class and define notification methods
4. Create Spring ...
Posted by xentia on Tue, 15 Feb 2022 09:26:32 +0100
Certification process analysis
Certification process analysis
3.1 login process analysis
To understand the spring security authentication process, we must first understand the three basic components related to it: AuthenticationManager, ProviderManager and AuthenticationProvider. At the same time, we should also understand the filter of access authentication functio ...
Posted by wsh on Tue, 15 Feb 2022 07:25:41 +0100