Spring cloud -- config configuration center
Config Server configuration
It provides centralized external configuration for microservices, and configuration server provides centralized external configuration for various environments of each microservice application.
Configuration information and business code are managed separately to support dynamic configuration of multiple environm ...
Posted by EWaveDev on Thu, 13 Feb 2020 07:21:58 -0800
A brief introduction to the basic components of spring cloud
Introduction to spring cloud
eureka
As a registry, eureka plays an important role in microservices. At present, eureka and zookeeper are the mainstream registries. eureka is AP, zookeeper is CP. (CAP theory)
Architecture diagram
As can be seen from the architecture diagram, eureka adopts cs archite ...
Posted by shaitand on Wed, 12 Feb 2020 21:11:08 -0800
HTML basic notes list and fonts
3 lists
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
/*
Remove bullet
* */
/*ul{
list-style: none;
}*/
</style>
</head>
<body>
<!--
The lis ...
Posted by martor on Wed, 12 Feb 2020 10:14:33 -0800
Dubbo: Deep understanding of how Dubbo source implements service references
1. Preface
Earlier, we talked about how services are exported to the registry.In fact, one thing Dubbo does is publish the URL of the service to the registry.Now let's talk about how the consumer subscribes to the service from the registry and makes remote calls.
2. Reference Service Time Series Diagram
First, generally speaking the general int ...
Posted by Infinitus 8 on Wed, 12 Feb 2020 09:25:50 -0800
Hystrix Circuit Breaker (Hoxton version)
Getting Started with Spring Cloud - Hystrix Circuit Breaker (Hoxton version)
Original
ThinkWon
Last released from December 29-27 15:25:21
Reading 680 Collections
Released from December 29-27 15:25:21
Category Column:
Spring Cloud
Cop ...
Posted by KindredHyperion on Wed, 12 Feb 2020 08:47:12 -0800
Spring boot remove embedded tomcat and package to run in tomcat
Remove embedded tomcat and add jsp dependency
Remove embedded tomcat
Removing embedded tomcat from spring boot dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<!-- Remove embedded to ...
Posted by j0sh on Wed, 12 Feb 2020 08:42:55 -0800
SSM integration practice
Management dao layer of mybatis framework
spring mainly manages the service layer
Spring MVC manages the cortroller layer
1. guide pack
2. Write web.xml. When Tomcat starts, load the web.xml file and put its contents into the spring container (webApplicationContext, which is the sub interface of applica ...
Posted by jim.davidson on Wed, 12 Feb 2020 07:58:06 -0800
ActiveMQ in message middleware: spring boot integrates ActiveMQ
Less nonsense, more dry goods:
integration
Create an initialization project for springboot
Slightly (this can be done)
pom.xml is introduced as follows:
Note: I use 5.15.11 here, so the imported package should also be the latest 5.15.11
<dependency>
<groupId>org.sprin ...
Posted by miltonos on Wed, 12 Feb 2020 07:37:00 -0800
Quick learning - comprehensive case restull CRUD
Chapter 7 comprehensive case
7.1 restrl? Crud? Requirements
7.1.1 display all employee information
URI: emps
Request method: GET
Display effect
7.1.2 add operation - go to add page
Show add page:
URI: emp
Request method: GET
Display effect
7.1.3 add operation - add employee
Add employee ...
Posted by saunders1989 on Wed, 12 Feb 2020 04:39:42 -0800
Dynamic agents you have to learn
Dynamic agents you have to learn
Background of problem
What are the problems?
Solution
Mode explanation
New problems
Principle of dynamic agent
Related development
Background of problem
As a senior single dog, Xiaoqiang has finally ushered in her own spring. Under his relentless pursuit, Xiao Li ...
Posted by tsabar on Wed, 12 Feb 2020 04:38:18 -0800