springboot integrated elastic search 7.2.0, head plug-in

1. Download Elasticsearch Download address on official website https://www.elastic.co/cn/downloads/elasticsearch The author downloaded 7.2.0 here. If you want to download the previous version, you can click the following figure to download: 2. Start elastic search 1 > Enter bin directory and cli ...

Posted by horsleyaa on Tue, 29 Oct 2019 12:33:10 -0700

Spring Boot2 series of tutorials spring boot integrates Swagger2

After the front and back ends are separated, it is essential to maintain the interface documents. An ideal state is that after the design is completed, the interface documents will be sent to the front-end and back-end, and each of them will develop according to the established rules. After the development is completed and connected, they can g ...

Posted by pyr on Mon, 28 Oct 2019 18:14:28 -0700

SpringBoot 19: log management

The default logging framework used by springboot is Logback. Simple log properties can be configured in application.properties, logback.xml format can be configured separately, and log4j can be used for management. The following describes the self-contained log configuration and how to use log4j as log ...

Posted by AdRock on Mon, 28 Oct 2019 07:14:07 -0700

SpringBoot 22: integrating RabbitMQ

brief introduction In the Spring project, you can use Spring rabbit to operate RabbitMQhttps://github.com/spring-projects/spring-amqp Especially in the spring boot project, you only need to introduce the corresponding amqp initiator dependency. It is convenient to use RabbitTemplate to send messages a ...

Posted by dutchboy on Sun, 27 Oct 2019 23:19:56 -0700

How to implement the encryption and decryption function of interface data flexibly in spring boot?

Data is the fourth business card of an enterprise. Encrypted data transmission is indispensable in enterprise development. Therefore, this paper introduces the methods of interface data encryption and decryption in SpringBoot. Contents of this article I. Introduction to encryption schemeII. Implementation principleThree, actual combatFo ...

Posted by ankur0101 on Sun, 27 Oct 2019 19:47:34 -0700

Interceptor of springboot

This article will talk about interceptors. It is convenient to register interceptors in springboot. There are about two steps: 1. Implement HandlerInterceptor interface to create interceptor 2. Implementation of WebMvcConfigurer interface configuration interceptor   Let's use a simple example to roughly show the following specific use: Sce ...

Posted by cassius on Sat, 26 Oct 2019 13:11:42 -0700

How to configure activeMq in springBoot

1. Install activeMq first Check whether the installation is completed. Enter similar in the browser: http://localhost:8161 /, access. If there is an access interface of activeMq, the installation of activeMq is successful (the precondition is to configure the java environment);2. Establish springBoot pr ...

Posted by TheNookie on Sat, 26 Oct 2019 09:57:04 -0700

Swagger2: the interaction artifact of front and rear end

Swagger2: the interaction artifact of front and rear end Catalog Article directory Swagger2: the interaction artifact of front and rear end Preface Integration of SpringBoot and Swagger2 Notes on Swagger2 Preface It is believed that many individuals and companies have used the front-end and ...

Posted by hoppyite on Thu, 24 Oct 2019 03:14:09 -0700

Spring Boot series: Spring Boot integrates Spring Cache and uses RedisCache

In the previous chapter, I explained Spring Boot integrates Spring Cache Spring Cache has completed the implementation of various caches, including EhCache, RedisCache, ConcurrentMapCache, etc. In this section, let's take a look at Spring Cache using RedisCache. I. demonstration of RedisCache Redis is a key value storage system, which is widely ...

Posted by kevinn on Wed, 23 Oct 2019 15:06:44 -0700

Spring Boot series: Spring Boot integrates Spring Cache

I. about Spring Cache Caching is becoming more and more important in today's applications. Spring has defined org.springframework.cache.Cache and org.springframework.cache.CacheManager interfaces since 3.1 to unify different caching technologies, and supports the use of JCache (JSR-107) annotations to simplify our development. Through spring Ca ...

Posted by elfyn on Tue, 22 Oct 2019 13:26:51 -0700