Spring Basic Series - Container Startup Process

Original articles, reprinted please indicate the source: Spring Basic Series - Container Startup Process (2) I. overview The last article described the container in a SSM-based web project Startup process In this article, let's look at the container startup process in the SpringBook project. II. Start-up process The Springboot pr ...

Posted by nishith82 on Sun, 05 May 2019 21:20:39 -0700

SpringBoot Integrates RabbitMQ

You can refer to the blogger's previous article on what is Message Middleware and its benefits (SpringBoot Integrates ActiveMQ), which is not covered here ~ 1. Simple integration 1. Add RabbitMQ dependencies <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-start ...

Posted by l3asturd on Sun, 05 May 2019 17:55:37 -0700

Construction and Use of SWAGGER

Construction of SWAGGER and its integration with SPRINGBOOT 1. Construction of swagger official api demo 1. swagger ui github download address: https://github.com/swagger-api/swagger-ui 2. Install nodejs: Download address: https://nodejs.org/en/download/ (Just a little at a time) 3. Install Express Dependency (Express is a ...

Posted by MaTT on Sat, 04 May 2019 15:50:38 -0700

Monkey-api-encrypt version 1.1.2 has been released

More than 10 days later, monkey-api-encrypt released the second version, or thanks to some friends who are using it and asked some questions. GitHub home page: https://github.com/yinjihuan/monkey-api-encrypt This update is as follows: Support Spring Boot configuration Supporting Annotation Opening Encryption and Decryption (in Spring Boot) Add ...

Posted by Zaynt on Thu, 02 May 2019 14:30:37 -0700

Spring Load IOC Container and Load Bean Source Interpretation

. SpringBoot application development is already very common. It's true that SpringBoot brings us a lot of convenience for development, but in fact, SpringBoot does not add any new features, it just mixes upgrades based on Spring notes.The essence of SpringBoot is automated assembly (@EnableAutoConfiguration). We don't need to in ...

Posted by Weiry on Mon, 29 Apr 2019 02:10:36 -0700

springboot unit test

3.springboot Unit TestBecause the company needs 80% unit test coverage, write unit test cases.Multimodal projects often make calls to other services and avoid database operations affecting the database, so all operations are mock ed out, which is the result of a simulated call.Test case writing is available for reference https://www.journaldev. ...

Posted by frao_0 on Sat, 27 Apr 2019 02:42:35 -0700

Springboot project deployed to external Tomcat

Foreword: As everyone who has used Springboot knows, Springboot uses the idea that conventions are larger than configurations, and provides a lot of operations to simplify the configuration, so we can get rid of the heavy configuration of SpringMVC projects by configuring the appropriate parameter values for the specified param ...

Posted by Cerberus_26 on Fri, 26 Apr 2019 06:21:36 -0700

springboot -- When did application.properties and application.yml resolve

Preface springboot must be familiar with it, one of its important features is automatic configuration (usually used to some settings configuration as the default configuration). springboot advocates the concept of no XML configuration files, and applications generated using springboot will not generate any configuration code and XML configurati ...

Posted by el_quijote on Tue, 23 Apr 2019 17:33:35 -0700

Analysis of redis serialization in Springboot

Reasons for the study: When spring boot uses redis to get data and convert it to objects, Always prompt: "com.alibaba.fastjson.JSONException: syntax error, expect {, actual [, pos 0"." Finally, it is found that this is due to the serialization of redis. So let's analyze the way redis is serialized: 1. In spri ...

Posted by aperales10 on Tue, 23 Apr 2019 13:45:34 -0700

(Office) springboot configuration global exception

springboot was used in the project, which was very happy, but there was nothing in the project, validation, global exceptions needed to be configurated in their own area. springboot has been using a lot lately. I'll do something to publish my experience. Global unified exceptions, first of all, the return value of exceptions and the return valu ...

Posted by Vasko on Sun, 24 Mar 2019 22:06:27 -0700