The java client of ElasticSearch and SpringDataElasticSearch

Article directory ElasticSearch Chapter 1 1, How to use java client 2, Index library management 1. Create index library 1) , create Client object 2) , using the method of client object to create index library 2. Set mapping information 1) Setting the mappings information when creating an index l ...

Posted on Fri, 21 Feb 2020 01:08:30 -0800 by natepizzle

Spring Boot: Spring Boot integrates Mapper4

1, Project preparation Use the source code of the previous chapter directly 2, Add mapper4 dependency <!-- mapper4 --> <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> <version>2.0.2</version> ...

Posted on Thu, 20 Feb 2020 20:49:43 -0800 by parkie

Springboot Source Series - Automatic Configuration

Why to learn Springboot Sourcebook, on the one hand, is that Springboot has been used so widely that a better understanding of it is necessary for your own development work, because if you encounter or business scenarios that require some slightly more advanced Springboot extensions and applications, you may not understand it.On the other hand, ...

Posted on Thu, 20 Feb 2020 13:09:58 -0800 by Broniukas

Overview of Spring Data JPA

Overview of Spring Data JPA 1.1 overview of spring data JPA Spring Data JPA is a set of JPA application framework based on ORM framework and JPA specification. It enables developers to access and operate the database with simple code. It provides common functions including addition, deletion, modif ...

Posted on Wed, 19 Feb 2020 19:50:00 -0800 by itsmeArry

Spring black horse: Spring IOC case (JDBC database): spring new annotation (delete bean.xml file) + Junit integration

Article directory 1. JDBC config.properties configuration 2. List the main codes (those not listed will follow the previous codes) 3. New spring notes 4. spring and Junit integration 1. JDBC config.properties configuration jdbc.driver=com.mysql.cj.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306 ...

Posted on Wed, 19 Feb 2020 06:19:40 -0800 by Amitk

Amazing! Our boss doubled my springboot project concurrency in half an hour

backgroundOccasionally, there are some slow requests in the production environment, resulting in system performance degradation and throughput degradation. Here are some optimization suggestions. programme1. Under to replace tomcatMost e-commerce websites are short requests, and the response time is generally 100ms. At this time, you can repla ...

Posted on Wed, 19 Feb 2020 02:31:11 -0800 by Morbius

[Spring Boot + Vue front and back separation - book management Demo] - [2] main interface book information display

👉 [Spring Boot + Vue front and back end separation - library management Demo] - [1] environment preparation Article directory 1, Main interface style 2, The binding of menu and router to realize page Jump 1. Create new 'BookManager.vue (query book page), BookUpdate.vue (modify book information pag ...

Posted on Tue, 18 Feb 2020 05:17:53 -0800 by alexu'

Spring MVC: unified exception handling and file upload and download

exception handling SimpleMappingExceptionResolver HandlerExceptionResolver interface custom exception Use @ ExceptionHandler annotation File upload and download If it's a picture, please refer to another Spring boot spring boot single / multi image upload and echo 1.SimpleMappingExceptionResolver cl ...

Posted on Tue, 18 Feb 2020 04:17:23 -0800 by greenba

Spring Boot + Vue separate front and back using Element rendering login interface

Hello, welcome to the program workplace, where you need to improve technology, career planning, personal growth, sideline development and other articles. Learn and improve with more small partners. Last article talked about login interceptors. It talked about two kinds of interceptors, front-end ...

Posted on Tue, 18 Feb 2020 01:42:01 -0800 by hybmg57

Use of Regions and Zones in Springcloud

1. Background For projects with a large number of users or a wide geographic distribution of users, there will usually be more than one computer room.At this time, if the springCloud service is online, we want services in one room to call services in the same room first, and services in other rooms to r ...

Posted on Mon, 17 Feb 2020 18:49:47 -0800 by gerkintrigg