Getting Started with Ribbon Load Balancing in SpringCloud

Load balancing using Ribbon Before using Ribbon, let's think about a previous question. We registered our service provider with the eureka registry, but on the consumer side, when we still used the restTemplate call, did it write something inappropriate like http://localhost:8001?Does the application use the service name to make calls like dubb ...

Posted by xterra on Wed, 26 Feb 2020 10:46:58 -0800

The use of database transaction in Spring BootSpring Boot

Hello, welcome to the program workplace, where you need to improve technology, career planning, personal growth, sideline development and other articles. Learn and improve with more small partners. This is the twelfth article in the Spring Boot series. Understanding the previous articles will hel ...

Posted by tinkertron on Wed, 26 Feb 2020 05:15:24 -0800

8, jOOQ series tutorial - Spring Boot and jOOQ integration

Complete tutorial: https://jooq.diamondfsd.com/ In the current situation of the prevalence of micro services, the micro service system based on Spring Boot or Spring Cloud is the mainstream, and it is also the new selection direction in the current business scenario Compared with using Spring directly, using Spring Boot to integrate jOOQ is rel ...

Posted by Hagaroo on Wed, 26 Feb 2020 02:47:19 -0800

Recent learning

1.SpringBoot What is SpringBoot Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications n ...

Posted by 244863 on Tue, 25 Feb 2020 23:51:06 -0800

Scope, scope proxy and corresponding examples of spring beans

Scope of bean The annotation Scope of spring Component has several common scenarios, such as singleton, prototype, request, session and global session. This annotation can be used with @ Component and @ Bean. In particular, Scope annotation can be divided into ConfigurableBeanFactory and WebApplicatio ...

Posted by olsrey on Tue, 25 Feb 2020 22:50:08 -0800

Summary of Spring Boot actual combat project

Summary of Spring Boot actual combat project (1) Project design ideas (steps) Development environment construction and log git common commands Learning methods List of projects available for reference 1, Project design ideas (steps) 1. Analysis function: what are the functions and application scena ...

Posted by Paingiver on Tue, 25 Feb 2020 19:01:18 -0800

Spring boot2. X basic chapter: take you to know about scanning Package automatic registration Bean

Knowledge changes fate, rolling code makes me happy, and I will continue to swim in the open source industry in 2020 < br / > Take a look at what you like and get into the habit < br / > Give me a Star, Click to learn about the implementation solution of component-based interface service based on spring boot We have been using Sp ...

Posted by lazytiger on Tue, 25 Feb 2020 00:54:47 -0800

Self implementation of Spring core IOC and AOP

Article directory Spring 1. Core Container 2,Data Access 3,Web 4,AOP 5,Test Correspondence between Spring version and Java version IoC 1. XML parsing: 2. Create objects dynamically based on the information obtained in step 1 The spring-ioc.xml file is as follows Class User Spring provides point p ...

Posted by loveranger on Mon, 24 Feb 2020 20:09:07 -0800

Spring Cloud - Load Balancing Ribbon and Remote Call Feign principles and examples

Previous: Principle and Example of Spring Cloud-Eureka Registration Center Official website: https://cloud.spring.io/spring-cloud-static/spring-cloud-netflix/2.2.1.RELEASE/reference/html/#spring-cloud-ribbon In the front-end and back-end separation architecture, the service layer is divided into a numbe ...

Posted by cbcampbell on Mon, 24 Feb 2020 19:04:49 -0800

Enumeration classes and annotations

Enumeration classes and annotations 1, Use of enumeration classes 2, How to define enumeration class Method 1: before jdk5.0, customize enumeration class Mode 2: jdk5.0, enum keyword can be used to define enumeration class 3, Common methods in Enum class: 4, Implementation of the interface using en ...

Posted by nttaylor on Mon, 24 Feb 2020 03:11:21 -0800