Spring Cloud Alibaba--sentinel -- current limiting and fusing degradation

0, foreword sentinel has powerful current limiting and degradation functions. It can make rules in the control panel and push them to the microservice; Rules can be made individually according to the URL or in batches according to the resource name; We need to pay attention to the following points: 1. GITHUB files have been completely blocked o ...

Added by dmyst3 on Sun, 23 Feb 2020 07:46:31 +0200

Four methods of transferring data to page in Spring MVC

When we used Servlet + JSP to develop web applications, we usually used the four scopes of Servlet: request,session,page,application to pass values to the page. Spring MVC certainly supports the native APIs of these servlets, but it also provides us with more powerful API support. Let's discuss how spri ...

Added by cyberdwarf on Sat, 22 Feb 2020 11:46:10 +0200

Spring boot log processing based on AOP

When using spring boot for development, we can get the log information we want through AOP and print it on the console. 1, Import AOP related initiators <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> & ...

Added by pyro3k on Fri, 21 Feb 2020 09:42:41 +0200

Spring security permission system of Java framework

SpringSecurity Spring Security integrates spring technology stack, provides the overall security solution of Java EE application, and provides comprehensive security services. Spring Security supports a wide range of authentication models Module division Core - spring-security-core.jar Core modules: core authentication, authorization, JDBC ...

Added by angelac on Thu, 20 Feb 2020 12:01:16 +0200

C basic Generic application

Introduction - Introduction to the use of "Generic" #include <stdio.h> #define TYPENAME_CASE(type) \ type: #type, #define TYPENAME_POINTER_CASE(type) \ TYPENAME_CASE(type) \ TYPENAME_CASE(type *) \ #define TYPENAME_UNSIG ...

Added by bateman on Wed, 19 Feb 2020 18:40:03 +0200

[enjoy learning Netflix] 3. Apache Commons Configuration2.x new event monitoring mechanism

Writing good code is personal accomplishment, not the requirement of the boss, not to show colleagues - > return to the column directory Code download address: https://github.com/f641385712/netflix-learning Catalog Preface text Event ConfigurationEvent ConfigurationErrorEvent ReloadingEvent Con ...

Added by brendan2b on Tue, 18 Feb 2020 11:48:00 +0200

Master Spring's RestTemplate

Wen Ren's technology blog follow 22019.05.11 15:56:51 Word number 2787 Reading 1094 Preface In the field of Java server-side development, spring is an unavoidable topic, especially the concept of micro service is prevalent now. The emergence of Spring Boot has injected new vit ...

Added by jefkin on Tue, 18 Feb 2020 06:33:28 +0200

Spring Cloud OpenFeign source code analysis

0. Getting started demo This code is an example code of OpenFeign, which gets all contributors of a Github warehouse and creates an issue. It is recommended to DEBUG and read the source code interface GitHub { @RequestLine("GET /repos/{owner}/{repo}/contributors") List<contributor> contributors(@Param("owner") String owner, @Param( ...

Added by timbo6585 on Tue, 18 Feb 2020 06:19:49 +0200

Distributed transaction solution based on activemq

1. Distributed transaction scenario Scene Description: Alipay transfer balance treasure Distributed transactions must meet the following conditions: 1, remote RPC calls, Alipay and bal ...

Added by zero-one on Mon, 17 Feb 2020 08:25:17 +0200

Spring MVC learning notes 02

Process model data: If data is needed for jump, VM can use the following methods ModelAndView,ModelMap,Map,Model Data placement request Scope of action //Example: public String testModelMap(ModelMap mm){ //The returned ModelAndView has both data and view Student student = new Student(); st ...

Added by conor.higgins on Fri, 14 Feb 2020 15:10:10 +0200