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

Sentinel: Wanzi explains the sentinel mechanism of microservice, I kneel

1. What is sentinel? With the popularity of microservices, the stability between services becomes more and more important. Sentinel takes traffic as the entry point, and protects the stability of services from multiple dimensions such as traffic control, fuse degradation, system load protection, etc. Sentinel has the following characteristics: ...

Posted by chomps on Wed, 12 Feb 2020 04:31:46 -0800

The simplest spring boot integrated Spring Data JPA tutorial

At the beginning of using the spring boot development project, the Spring Data JPA used by the ORM framework was only used intermittently for more than a year, without making some summary. Taking advantage of the current serious epidemic situation and little work, I will take a note and record the gener ...

Posted by midge1970 on Tue, 11 Feb 2020 23:53:38 -0800

Learning and arrangement of RabbitMQ -- integration of Spring AMQP and RabbitMQ

Preface In the previous blog, I sorted out some advanced features of RabbitMQ, such as confirm message confirmation mechanism, consumer side flow restriction, etc. Today, this blog is mainly about the integration of Spring AMQP and RabbitMQ, mainly about the use of some common components. It's rela ...

Posted by roughie on Tue, 11 Feb 2020 06:58:07 -0800

Spring cloud bus auto refresh configuration

Problems solved To solve the problem that the project needs to be restarted after the configuration file changes After changing the configuration file in git, push the configuration to the corresponding project to complete the configuration update without restarting Framework Modify the archite ...

Posted by vasoftwaresolutions on Tue, 11 Feb 2020 06:25:18 -0800