SpringCloud microservice practice -- building an enterprise level development framework: integrating OpenFeign for calls between microservices

  as one of the subprojects of Spring Cloud, Spring Cloud OpenFeign provides a solution for calling between services under the microservice architecture by integrating OpenFeign into the Spring Boot application. Firstly, we use the declarative way of OpenFeign to define the Web service client; Secondly, it goes further by integrating Ribbo ...

Posted by artiemus on Mon, 01 Nov 2021 05:56:45 -0700

2 basic input / output stream (iostream)

Standard input and output objects The iostream class library defines four basic input / output objects cin: standard input, i.e. keyboard input cout: standard output, i.e. screen output cerr: handles standard errors, typically used to generate warning or error messages clog: generates the execution information of the program < < inserter ...

Posted by corillo181 on Mon, 01 Nov 2021 02:24:56 -0700

Serialization exploration 5 - Gson

Gson is a relatively simple library. It doesn't have so many functions. In terms of design, it doesn't want others to expand it. It just wants to make a Json serialization library quietly, which is simple and practical. in brief Gson provides two ways to create gson instances new Gson(): quick creation, default configuration, quick usenew Gs ...

Posted by kenwvs on Mon, 01 Nov 2021 01:33:29 -0700

Spring boot integrates Mybatis (annotation only development version)

preface In fact, the process is not complicated. I just write such a thing to continue to practice some use of springboot and mybatis, just for review. text The first step is to create a new Module maven project. Here, we use Spring Initializr to create springboot applications quickly: Next, you can create it step by step according to your ...

Posted by sanch on Sun, 31 Oct 2021 23:12:43 -0700

Spring Boot YAML configuration

  catalogue 1. YAML syntax 1. Basic grammar 2. Data type 2. Configuration injection 1,@ConfigurationProperties & @Value 2,@PropertySource&@ImportResource&@Bean  3,Profile 1. Multiple profile files 2. Specify profile 3. Profile location 4. External configuration 5. Auto configuration 1. Automatic configuration princ ...

Posted by devai on Sun, 31 Oct 2021 21:03:00 -0700

Django realizes Alipay payment (sandbox environment)

1. Create application and sandbox environment Sandbox application: https://openhome.alipay.com/platform/appDaily.htm?tab=info Code scanning registration Sandbox account number: https://openhome.alipay.com/platform/appDaily.htm?tab=account The quota can be modified 2. Alipay development documentation Document home page: https://openhome ...

Posted by EnDee321 on Sun, 31 Oct 2021 19:42:02 -0700

Synchronization exercise (Java SE)

Case 1: method exercise Requirements: design a method to print the larger of the two numbers Analysis: 1. Define a method to print the larger of two numbers, such as getMax()         2. Two variables are defined in the method to save two numbers         3. Use branch statements to handle the size re ...

Posted by inkel on Sun, 31 Oct 2021 17:00:52 -0700

java keywords and identifiers (partial types)

1. Keyword 1. What are keywords? Let's get to know: 1. What are keywords:             Parse: All colors in the compiler are keywords.           For example, public, void,       Four types and eight types of data (int, long, short, ...

Posted by picker999 on Sun, 31 Oct 2021 15:01:57 -0700

Grapefruit class - phase 4

2050 That day TA said TA was coming, so I came. I said I was coming that day, so you came. What did TA see? What do you see? I see you together, I'm really happy:) Yang Sai's song and the other two volunteers tell their story of 2050. They can see the light and enthusiasm of young people in their eyes. Interested parties can join: https: ...

Posted by wdsmith on Sun, 31 Oct 2021 14:56:34 -0700

Java Classes and Objects

1. Preliminary Cognition of Classes and Objects C language is process-oriented and focuses on the process, analyzing the steps to solve the problem, and gradually solving the problem through function calls. JAVA is object-oriented and focuses on objects. It splits one thing into different objects and completes them through interaction betw ...

Posted by The Stranger on Sun, 31 Oct 2021 14:15:14 -0700