K8S deployment SpringBoot project (one article is enough)

Today's article mainly introduces how to build a set of SpringBoot case tutorials based on K8s deployment from 0. Basic environment preparation: 1. mac operating system 2. Simple Web project of springboot Minicube environment construction Install a k8s environment suitable for our entry. A better recommendation is to use the minicube too ...

Posted by sigmon on Thu, 20 Jan 2022 21:17:52 +0100

Selection of actual development technology for SpringBoot project

springboot project is a popular java web project. This paper mainly describes the technical selection of the project. This experience has been applied and verified in actual combat. It is quite stable in the production environment (centos7) and has strong scalability. For example, it is very simple to expand redis, mongodb and other cache techn ...

Posted by alan543 on Thu, 20 Jan 2022 13:03:54 +0100

XXL job construction, deployment and SpringBoot integration

Step 1: set up XXL job 1. Download the XXL job code Code cloud address: https://gitee.com/xuxueli0323/xxl-job gitHub address: https://github.com/xuxueli/xxl-job 2. Initialize the database Execute \ XXL job \ doc \ DB \ tables in the database_ xxl_ job. sql 3. Import the source code structure into idea Import existing modules: File & ...

Posted by Masterchief07 on Thu, 20 Jan 2022 08:09:21 +0100

[note] Vue+Spring Boot front and back end separation development practice project - library management system

1, Effect display main interface: Add books: Modify interface: 2, Front end implementation 1,Vue.cli build project Enter vue ui on the command line (UI interface with vue version above 3.0) vue ui Manually create the project and select the following configuration to use: Wait until the project is created, because the bac ...

Posted by avvishnu on Wed, 19 Jan 2022 17:27:28 +0100

[Java Spring open source project] operation, analysis and summary of neebee mall project

Project introduction **Project address:** https://github.com/newbee-ltd/newbee-mall **Project Description: * * NewBee mall project is a set of e-commerce system, including NewBee mall system and NewBee mall admin mall background management system, based on spring boot 2 X and related technology stack development. The front desk mall system in ...

Posted by suepahfly on Wed, 19 Jan 2022 12:25:01 +0100

Talk about the global exception handling of the springboot project

preface In the past, our business team added @ RestControllerAdvice+@ExceptionHandler to each business micro service to catch global exceptions when handling global exceptions. A leader once asked a question when walking through the code, why should each microservice project write a set of global exception code, why not draw the global exceptio ...

Posted by pesoto74 on Wed, 19 Jan 2022 11:59:38 +0100

13. SpringBoot Configuration class @ Configuration

01. General Configuration class: the class marked by @ configuration or @ SpringBootConfiguration in springboot is called configuration class. 02. Function & purpose Many @ Bean methods can be defined in the configuration class, and these @ beans can be decorated to load the spring framework into the ioc container. 03. Why does the conf ...

Posted by latinofever on Wed, 19 Jan 2022 04:43:31 +0100

Power node Spring framework learning notes - Wang He IOC control inversion

Spring framework learning notesOfficial download addressPower node spring dataVideo viewing addresshttps://www.bilibili.com/vide...1, IOC control reversal1.1 generalIoC (Inversion of Control) is a concept and an idea. It refers to handing over the call right of the object directly controlled by the program code to the container, and realizing t ...

Posted by leegreaves on Wed, 19 Jan 2022 04:04:44 +0100

Spring Boot Test series 4 - explore using WebTestClient for API testing

Spring Boot Test series 4 - explore using WebTestClient for API testing preface This article is the fourth in the Spring Boot Test series to explore the use of WebTestClient for API testing. Front article: Spring Boot Test series 3 - testing the Web tier using WebTestClient API design resources resources: User - user Data example: ...

Posted by kykin on Tue, 18 Jan 2022 23:31:20 +0100

Spring boot uses Druid data sources

Spring boot uses Druid data sources When the program operates the database, it needs to use the database connection, and the performance of the database connection is related to the database connection pool. Druid is an open source database connection pool implementation of Alibaba. It combines the advantages of database connection pools such a ...

Posted by todd2006 on Tue, 18 Jan 2022 20:29:27 +0100