Integration of ssm based on annotation

ps: it's relatively simple. It's used to lay the foundation for us to use springboot 1: Objectives Integration: springmvc+spring+mybatis+maven Small function: query all user information 2: Integration ideas: pom dependency configuration file Run through a small function 3: Integration steps: (1) New maven project (2) pom dependency ...

Posted by dbradbury on Thu, 23 Apr 2020 12:14:24 +0200

How to solve repeated commit in pringboot 2.x (practice of local lock)

Have you ever encountered such a situation: the response of the web page is very slow, you find no response after submitting a form, and then you click the submit button crazily (12306 is often so angry). If you have done anti duplicate submission, it's OK, otherwise it's a disaster of what level... This paper mainly uses custom annotation, sp ...

Posted by abigbluewhale on Wed, 22 Apr 2020 11:22:39 +0200

Redash - a powerful open source data visualization platform

We will often mention BI system (Business Intelligence), which is an important data entry and exit to help data and enterprises to obtain data reports and make strategic decisions. We are familiar with FineBI and Microsoft's powerBI, but the cost of using them is not low, the client is needed for authorization, and the configuration of using t ...

Posted by SephirGaine on Wed, 22 Apr 2020 04:22:26 +0200

Order export pdf file

principle Raw data - > Load template - > temporary file - > PDF file Scheme preparation html template to pdf Difficulties: 1. Find a designer for every change; 2. html style is difficult to control (I'm not good at it); 3.html to pdf style is difficult to control word template to pdf Difficulties: 1. Selection of appropriate plug-in ...

Posted by argh2xxx on Tue, 21 Apr 2020 18:35:29 +0200

Detailed design of scheduled tasks

Detailed design of scheduled tasks Timing task is implemented by QuartZ, and QuartZ document reference https://www.w3cschool.cn/quartz_doc/ QuartZ configuration Create a new QuartZ data table in the database. The corresponding SQL table is in the QuartZ.sql file in the current directory Add the quartz.properties file, which provides the relate ...

Posted by Johnm on Tue, 21 Apr 2020 16:40:36 +0200

Common Java classes

1, String class Use of java.lang.String class (1) Overview String: string, represented by a pair of "" causes. String declared final, cannot be inherited String implements the Serializable interface: indicates that strings support serialization. Implemented the compatible interface: indicates that string can compare sizes ...

Posted by schajee on Tue, 21 Apr 2020 14:51:29 +0200

It's amazing that the implementation of Servlet Filter and Spring MVC Interceptor is so simple

Preface Creation mode: Singleton mode, factory mode, builder mode, prototype mode Structural type: bridge mode, agent mode, decorator mode, adapter mode, facade mode, combination mode, enjoyment mode Behavioral: observer mode, template mode, strategy mode, responsibility chain mode, state mode, iterator mode, visitor mode introduce In our wor ...

Posted by samyl on Mon, 20 Apr 2020 18:58:08 +0200

Note: build a simple file search system based on Springboot+Lucene

Different types of files are stored in the file storage system. The background extracts the file name and content through the program. Lucene is used to index the file name and content. The front end provides a query interface for the user. After the user submits the query keywords, the index library is retrieved and the matching documents are ...

Posted by txmedic03 on Sun, 19 Apr 2020 16:23:54 +0200

JEP interpretation and tasting Series 2 - JEP 142 cache line filling simplification

This article is based on OpenJDK 8 ~ 14 JEP 142 content It is used to fill a cache row with one or some field s that need to be read and modified by multiple threads. At the same time, due to the way of filling cache rows before Java 8, which is cumbersome and not elegant enough, there may be different sizes of cache rows, so the @ contented ...

Posted by lightningstrike on Sat, 18 Apr 2020 10:02:43 +0200

Java 8 new feature four: Double colon(::) operator

Attention: Java promotion camp, the latest article delivered at the first time, 10T free learning materials available at any time!!! The double colon (::) operation, also known as the method reference operator, is used to directly call methods of a specified class. Its behavior is exactly the same as that of a la mbda expression. It and lambd ...

Posted by carnot on Fri, 17 Apr 2020 16:28:40 +0200