Use of @ ToString in Lombok

catalogue 1, Why use @ ToString? 2, How to use @ ToString? 3, @ ToString source code 1, Why use @ ToString? In java.lang.Object, there is an instance method toString, which is used to describe the self of an Object. There is a comment in the source code, It is recommended that all subclasses override this method. Because the implementatio ...

Posted on Mon, 29 Nov 2021 06:57:58 -0500 by mahers

Simple use of Lombok in Mybatis basic learning

preface: Hello, guys, I'm running snail rz. Of course, you can call me snail Jun. I'm a rookie who has studied Java for more than half a year. At the same time, I also have a great dream, that is, to become an excellent Java Architect one day. This Mybatis basic learning series is used to record the whole process of learning the basic ...

Posted on Fri, 05 Nov 2021 15:01:05 -0400 by law

Lombok usage details

lombok can dynamically add methods to classes at compile time through annotations. 1, Configuring lombok in IDEA 1. Import lombok dependent packages. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactI ...

Posted on Sun, 24 Oct 2021 00:01:50 -0400 by JaclynM

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