SpringBoot integrates Mybatis advanced usage

outline This article focuses on SpringBoot's quick development tips for integrating Mybatis, which will enable us to achieve the rapid development effect of writing as few or as few SQL statements as possible or preferably no SQL statements when de ...

Added by Hobgoblin11 on Wed, 21 Aug 2019 16:36:35 +0300

Fast springboot 5. Global exception capture, exception flow processing business logic

Preface As mentioned in the previous article, parameter validation often needs to be used in conjunction with global exception interceptors, so that the data structure returned is always consistent. The default return structure for parameter except ...

Added by inkfish on Sat, 17 Aug 2019 14:01:01 +0300

"Fast learning spring boot" 16. Let swagger help write interface documents

Introduction to swagger Official introduction THE WORLD'S MOST POPULAR API TOOLING Swagger is the world's largest framework of API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from desi ...

Added by shubham.amola on Sat, 17 Aug 2019 12:48:52 +0300

Spring Boot 2.x Usage Paper - Database Transaction

Articles Catalogue 1. Spring declarative transactions 1.1 Spring declarative transaction Convention 1.2 Annotation @Transactional Configuration Item 1.3 Spring transaction manager 1.4 Use transactions in Spring Boot 2. Transaction isolation level 3. Transaction Communication Behavior 3.1 Detailed ...

Added by gte806e on Thu, 08 Aug 2019 13:21:04 +0300

Forbid Cookie to use Session, Rewrite URL, Specific Solution

Let's first describe the implementation principle of session. session server provides a memory area for each client to access, which can store some operation information of some clients. Normally, sessions survive during the process of users accessing the server through the client until the client ...

Added by daijames on Sun, 04 Aug 2019 11:14:21 +0300

Deploy Spring Boot project in Docker

Microservices are now very popular in Internet companies, and many HR phone interviews before job hunting asked if they had any contact with microservices.Micro-service and Docker can be perfectly combined to make the architecture of micro-service more convenient.As the SpringBoot framework for microservices, today we'll look at how to run a Sp ...

Added by andymt on Fri, 02 Aug 2019 04:11:13 +0300

Custom Starter for SpringBoot Source

** Write in front: ** As a developer, compared with the development of Spring and Spring MVC, the biggest feeling of using SpringBook micro framework is that we can finally stop writing so many configuration files. Think back carefully, in our original spring + spring MVC development model, we need to ...

Added by mothermugger on Tue, 30 Jul 2019 17:19:36 +0300

Use of JMS in SpringBook

Use of JMS in SpringBook Abstract: This article belongs to the original, welcome to reprint, reprint please retain the source: https://github.com/jasonGeng88/blog> All services in this paper are deployed in docker container mode Current environment Mac OS 10.11.x docker 1.12.1 JDK 1.8 SpringBoot 1.5 Preface Based on the previous article ...

Added by rahulephp on Tue, 25 Jun 2019 00:14:52 +0300

SpringBoot Solves Cross-Domain Request Interception

Preface Homology strategy: judging whether it is homologous, mainly depends on these three points, protocol, ip, port. Homology policy is a policy that browsers restrict the access of resources from different sources for the sake of website security. For example, under the domain name https://www.baidu.com, scripts cannot access resources fr ...

Added by Meltdown on Sat, 15 Jun 2019 05:48:38 +0300

Spring's java configuration

Spring's java configuration 1. Spring's java configuration Java configuration is recommended by Spring 4. X and can completely replace xml configuration. 1.1 Use @Configuration and @Bean Spring's Java configuration is implemented through @Configuration and @Bean annotations: 1. @Configuration acts on classes, which is equivalent to an xml confi ...

Added by katierosy on Wed, 05 Jun 2019 00:14:22 +0300