Unexpectedly, Java operation Excel is so simple!

preface In the work, using excel to process data is a very common operation. This article will explain how to use the open source wheel to realize the function of downloading, importing and exporting. Before, many Java programmers liked to use the class library of POI to operate excel, but it was very ...

Posted on Fri, 19 Jun 2020 06:28:32 -0400 by rudy.siregar

Latest nginx load balancing cluster tomcat1 and tomcat2, session sharing solution spring session detailed tutorial

1, Software architecture nginx-1.19.0 windows 64 bit version apache-tomcat-9.0.30-windows-x64 Redis-x64-3.2.100 Apache Maven 3.5.3 java web project integration Spring Session 2, java project configuration Create a new java maven web project. The name of the project is based on your hobbies. I'm s ...

Posted on Fri, 19 Jun 2020 03:43:14 -0400 by damic

This article explains how transactions in Spring Boot are implemented

summary We have been using @ Transactional in SpringBoot to do transaction management, but seldom thought about how SpringBoot can achieve transaction management. Today, we start from the source code to see how @ Transactional can achieve transaction management. Finally, we write a similar annotation to help us deepen our understanding by combi ...

Posted on Fri, 19 Jun 2020 03:37:39 -0400 by jwaqa1

Five minutes to integrate elastic search in springboot

Elasticsearch is an open-source distributed RESTful search and analysis engine, which enables you to store, search and analyze a large number of data quickly and almost in real time, and can solve more and more different application scenarios. For example, it can be used to search the products of the online store, the search of users, and the ...

Posted on Fri, 19 Jun 2020 01:52:01 -0400 by Christoph09

File upload and Tomcat mapping path setting of Spring MVC

File upload and Tomcat mapping path setting of Spring MVC catalog File upload and Tomcat mapping path setting of Spring MVC summary: To configure MultipartResolver: Tomcat configuration Configuration of tomcat deployment in IDEA Controllers and pages: Results: summary: Spring MVC provides ...

Posted on Fri, 19 Jun 2020 01:07:28 -0400 by w4designs

Dynamic update of JAVA static constant non @ Value annotation based on NACOS and JAVA reflection mechanism

1. Preface Constant class files are used in projects. If the values need to be changed, the code needs to be resubmitted, or the @ Value annotation is used to realize dynamic refresh. If there are too many constants, it is also very troublesome. Can there be a simpler way to implement them? This article describes the way that a JAVA class cor ...

Posted on Thu, 18 Jun 2020 22:05:31 -0400 by Frame

SpringCloud version Hoxton SR5 - Lecture 5: zuul routing, filtering, fault tolerance and fallback, clustering, high availability

Port: SpringCloud version Hoxton SR5 - Lesson 1: Understanding First look at what Zuul can do, or his positioning and role in the project. The last article mainly talks about: Functions and functions are in colloquial, mainly easy to understand. It is recommended to have a look first.   As mention ...

Posted on Thu, 18 Jun 2020 21:06:10 -0400 by PromaneX

Spring Learning Notes 05 - Inject Details

Injection Details There are two types of injection, as follows: Set Injection Construction Injection Set Injection Details Use the <property>tag. Injection assignments to member variables.For different types of member variables.Other tags can be nested within <property>tags. Membership ...

Posted on Thu, 18 Jun 2020 20:56:10 -0400 by derekm

How can I halve Redis memory usage?

This article has been included GitHub There are also Internet factory interview questions, interview strategies, efficient learning materials and so on In this article, I will try to explain how to reduce data storage by more than 50%. Our 2.5GB Redis ElastiCache is almost full, and if it reaches its limit in some way, our system will start to ...

Posted on Thu, 18 Jun 2020 12:34:50 -0400 by diode

Java EE final project assignment management system

Java EE final project - activity management system Based on MyBatis+springboot+jsp 1, About MyBatis MyBatis benefits 2, Introduction to springboot springboot benefits Microservice 1: What is microservice? Why micro services? 2: What problems does microservice solve and what problems does it intro ...

Posted on Thu, 18 Jun 2020 06:42:35 -0400 by KissMyBrain