swager/knife4j trivia record

1. Overview Hello, I'm Ouyang Fangchao. Today's event is still related to swagger (to be exact, knife4j). In the SpringBoot project integrating swagger, the dependencies introduced are as follows: <!-- https://mvnrepository.com/artifact/io.springfox/springfox-boot-starter --> <dependency> <groupId>io.springfox</group ...

Posted by eskick on Sun, 20 Feb 2022 15:15:09 +0100

The third part of mybatis - can you understand the high-end usage of mybatis?

Previously, I learned that the integration of single data source and multiple data sources of springboot + mybatis has been used. In this article, let's talk about the high-end usage of mybatis 1. Environmental collocation 1.1 pom dependency Based on springboot 2.5.6, you can also refer to the first article of mybatis <!--Mysql Dependent ...

Posted by sella2009 on Sun, 20 Feb 2022 01:32:08 +0100

JAVA distributed -- SpringbootSpringboot quick start, core configuration file interpretation, directory interpretation, custom configuration items, @ Value annotation @ configurationproperties

1, springboot Basics 1.1 general Spring Boot can easily and quickly create applications based on the spring framework, which enables coding, configuration, deployment and monitoring. Spring Boot has attracted much attention in the industry because it simplifies the complexity and makes the development extremely simple and fast. 1.2 character ...

Posted by trg on Sat, 19 Feb 2022 21:55:01 +0100

Beginner springboot -- CH05 springboot integration MyBatis

Use the MyBatis framework to manipulate data and integrate MyBatis in the SpringBoot framework Use steps: 1.mybatis start dependency: complete the automatic configuration of mybatis objects, and put the objects in the container 2.pom.xml specifies that the xml files in the src/main/java directory are included in the classpath 3. Create ...

Posted by mikeoffy69 on Sat, 19 Feb 2022 20:45:14 +0100

Learn SpringBoot--ch06- interface architecture style RESTful

Interface: API (Application Programming Interface) refers to some pre-defined interfaces (such as function and HTTP interface), or refers to the Convention for the connection of different components of the software system. It is used to provide a set of routines that can be accessed by applications and developers based on some software or h ...

Posted by renegade44 on Sat, 19 Feb 2022 17:19:55 +0100

Section 13: simplify your code with Lombok

[TOC]In the development process, a large number of JavaBean s are usually defined, and then the constructor, getter, setter, equals, hashcode and toString methods of their properties are generated through the IDE. When adding properties or changing a property, such as naming and type, these methods mentioned above need to be regenerated. Such r ...

Posted by slushpuppie on Sat, 19 Feb 2022 17:11:18 +0100

Selection and comparison of Java single sign on technology kisso, SA token

Background introduction Single sign on (SSO) means that in a multi system environment, users do not have to log in to other systems after logging in to one system. In the early days, our web systems were all single applications, and all functions were written into a war package. The user login authentication function is relatively simple to ha ...

Posted by Aleks on Sat, 19 Feb 2022 11:34:16 +0100

Spring event framework extension - custom policy listening

Recently, when using Spring event framework to write business development, due to the functional limitations of Spring event framework, it can not well meet our development needs. Therefore, after reading the Spring event source code, the Spring event framework has been expanded. The process will be described in detail below. Problem Descripti ...

Posted by Traveller29 on Sat, 19 Feb 2022 09:09:09 +0100

Inventory springboot: application main process

I preface This article introduces the main process of SpringBoot Application The main process entry of spring application is very simple: @SpringBootApplication public class BaseApplication { public static void main(String[] args) { SpringApplication.run(BaseApplication.class, args); } } 1 > use @SpringBootApplication Not ...

Posted by rajan on Sat, 19 Feb 2022 08:05:43 +0100

Integration of springcloud components and Zuul implementation of service gateway

1, What is Zuul? Zuul is an open source API Gateway server of netflix. It is essentially a web servlet application. The core of Zuul is a series of filters, which can be compared with the Filter of Servlet framework or AOP. Zuul can realize the following functions by loading the dynamic filtering mechanism: Verification and security: Ide ...

Posted by pacmon on Sat, 19 Feb 2022 04:57:32 +0100