Spring Boot multi module development, bean calling of sub modules and Solutions

Spring Boot multi module project 1. Create a maven project Project Name: spring boot sample project Delete the redundant files and leave only the pom.xml file in the spring boot sample project project 2. Add sub modules in spring boot sample project project New: spring boot sample API module. Pay attention to the packa ...

Posted by Tchelo on Sat, 23 Oct 2021 17:13:42 +0200

SpringBoot learning notes

What is SpringBoot It is a micro service scaffold, which can quickly build a micro service. Viewpoint: agreement is greater than configuration!!! SpringBoot is currently the mainstream. Create a SpringBoot microservice project Spring officially provides a very convenient tool for us to quickly build applications Spring Initializr: https:// ...

Posted by Yucky on Sat, 23 Oct 2021 16:57:28 +0200

Introduction to Minio series [12] Spring Boot integrated Minio

preface Previously, we introduced how to use the JAVA SDK provided by Minio to upload and download files. On this basis, we can use spring boot to integrate the Minio JAVA SDK and add functions such as automatic configuration, assembly and client management to simplify development. Spring Boot integrated Minio 1. Environmental construction ...

Posted by sri.sjc on Sat, 23 Oct 2021 07:56:59 +0200

Spring boot and Hibernate validate verify data

Spring boot combined with hibernate validate verification data learning Hibernate validate data verification dependency has been introduced into the web Start dependency of spring boot. As long as the web Start dependency of the project depends, there is no need to introduce dependency. Dependency introduction <dependency> <grou ...

Posted by M4F on Sat, 23 Oct 2021 04:34:32 +0200

Spring security uses redis to achieve single sign on

preface This paper uses springsecurity oauth2 + redis to realize single sign on. Now, if you want to use springsecurity to realize single sign on, the more popular method is to use jwt. Although jwt has many advantages and can carry a lot of information, it is stateless, and the server does not need to save its information, so there is a ...

Posted by aximbigfan on Fri, 22 Oct 2021 10:03:43 +0200

[Spring Boot] Spring Boot REST + Angular 2/4 + JPA + Hibernate + MySQL CRUD example

This page will introduce an example of CRUD using Spring Boot REST + Angular + JPA + Hibernate + MySQL. We will create a REST web service application using Spring Boot and a client application using angular. REST Web Services expose the methods of creating, reading, updating, and deleting operations. Angular applications will use angular's ...

Posted by Smifffy on Fri, 22 Oct 2021 06:41:39 +0200

Concept and usage of message queue Rabbit MQ

The popular open source message middleware in the industry includes ActiveMQ, rabbitmq, RocketMQ, Kafka and ZeroMQ, among which rabbitmq, RocketMQ and Kafka are the most widely used. Redis can also be a mechanism similar to Queue and Pub/Sub to some extent, but it is not strictly a message oriented middleware. This article will talk about the b ...

Posted by monotoko on Wed, 20 Oct 2021 06:07:53 +0200

Integrated Mybatis Framework for SpringBoot Basic Learning

Preface: Hello, ladies and gentlemen, I'm running like a snail rz. Of course you can call me Snail Jun. I'm a beginner who has studied Java for more than half a year. At the same time, I have a great dream that I will become an excellent Java architect one day. This SpringBoot Basic Learning Series is used to record the entire process of le ...

Posted by exa_bit on Tue, 19 Oct 2021 18:23:02 +0200

Getting started with Graphql

preparation: 1. Import the open source demo of springboot integrated graphql spring-boot-graphql: spring-boot-graphql demo 2. Download postman Next, you can learn graphql The first step is to change the data source in springboot into its own test database Step 2 pay attention to the package framed in the figure below   First, how t ...

Posted by xdentan on Mon, 18 Oct 2021 21:40:21 +0200

Use Knife4j API management in project practice

🎆 Knife4j API management 1. Foreword Recently, we have developed a background management system of Neo4j+elasticsearch+mysql as the database. The main function is to use the characteristics of the graph database to store the knowledge point data in different disciplines. At present, the first version of the system has been developed. Wi ...

Posted by scottfossum on Sat, 16 Oct 2021 20:18:08 +0200