java SPI 07 - Automatically generate SPI profile implementation

Series Catalog What is spi 01-spi?Getting Started spi 02-spi battle resolution slf4j package conflict problem spi 03-spi jdk for source code parsing spi 04-spi dubbo for source code resolution spi 05-dubbo adaptive extension adaptive expansion spi 06 - Implement SPI framework from scratch spi 07-Automatically generate SPI profile implementatio ...

Posted on Thu, 18 Jun 2020 14:27:32 -0400 by ares

Reading configuration file of SpringBoot

Let's take a look at how Spring can help us read the configuration information from the configuration file. application.yml The contents are as follows: wuhan2020: 2020 A novel coronavirus outbreak in Wuhan in early 2008 was a serious epidemic. However, I believe everything will be over. Come on, ...

Posted on Thu, 18 Jun 2020 03:32:17 -0400 by jl9148

Let people love and hate Lombok, in the end should not use

1 Introduction Lombok, an island in Indonesia, is Longmu island. But in the world of Java, it is a convenient class library, which can provide a lot of convenience, so it is favored by many people. But there are many objections. Why is that? I went to Longmu island to shoot the sunset. 2 convenience provided by Lombok In general, when we use P ...

Posted on Tue, 16 Jun 2020 02:12:32 -0400 by ShugNorris

Stage 5: microservice system development: Spring Cloud getting started operation manual (day01)

Stage 5: distributed system development: microservice system development (day01) http://doc.canglaoshi.org/ Article catalog Chapter 1: Spring Cloud development environment Chapter 2: introduction to spring cloud framework Section 1: introduction to the concept of spring cloud Section 2: composition ...

Posted on Sat, 13 Jun 2020 06:18:57 -0400 by mlewis

Alibaba Nacos registry of Spring Cloud series

preface    From the beginning of this chapter, we learn about Spring Cloud Alibaba related micro service components. Introduction to Spring Cloud Alibaba    Spring Cloud Alibaba is committed to providing a one-stop solution for microservice development. This project contains the necessary components for developing distributed application m ...

Posted on Wed, 10 Jun 2020 01:16:22 -0400 by jnewing

Spring Boot+Vue front and rear WeChat official account separation solution

1, Introduction The most complete front and back end separation wechat web page authorization solution in the whole network. If there is a better optimization plan, welcome to communicate more. At the end of the article, there is the author's contact information, welcome to nag. 2, To authorize a web page Step 1: users agree to authorize and o ...

Posted on Fri, 05 Jun 2020 23:16:18 -0400 by john-iom

Spring Boot Tutorial - swagger-ui

1. What is Swagger? Swagger`The goal is to define a standard language-independent interface for REST APIs that enables people and computers to discover and understand the capabilities of various services without seeing the source code or documents or through network traffic detection.When services are defined by Swagger, consumers can interact ...

Posted on Tue, 02 Jun 2020 13:17:27 -0400 by .Stealth

How to execute a piece of logic immediately after the Spring Boot application starts

1. Preface I don't know if you've received this requirement, so just execute some logic when the project starts.For example, simple cache preheating, or broadcasting after going online, and so on.If you use the Spring Boot framework, you can do so with its interfaces CommandLineRunner and ApplicationRunner. 2. CommandLineRunner org.springframe ...

Posted on Mon, 01 Jun 2020 22:56:55 -0400 by vjbrantner@purd

CTO: don't write the set/get method in Java code. Catch a fine

preface what? Is your Java code still full of set/get methods? When we first started to learn the Java language, we said that the three characteristics of object-oriented are encapsulation, inheritance, and polymorphism. In Java, to ensure encapsulation, you need to privatize member variables and provide set/get methods for external access. Al ...

Posted on Fri, 29 May 2020 11:23:40 -0400 by jkmcgrath

CTO: don't write the set/get method in Java code. Catch a fine

preface what? Is your Java code still full of set/get methods? When we first started to learn the Java language, we said that the three characteristics of object-oriented are encapsulation, inheritance, and polymorphism. In Java, to ensure encapsulation, you need to privatize member variables and provide set/get methods for external access. Al ...

Posted on Fri, 29 May 2020 11:15:06 -0400 by Dark-Hawk