Three Ways to Realize Timing Task in JAVA

Links to the original text: https://www.w3cschool.cn/quartz_doc/ Catalog 1. TimerTask with JDK 2. Use third-party packages: QuartZ Suitable for particularly complex business 3. Timing Task Management with Spring This is usually enough ...

Posted by Sherman on Wed, 09 Oct 2019 01:20:58 -0700

The use of swagger in spring boot

Look, learn Import dependency <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.2.2</version> </dependency> <dependency> <groupId>io.springfox&l ...

Posted by leewad on Mon, 07 Oct 2019 11:29:05 -0700

springboot starts with a screen that resolves multithreaded [restarted Main]

Because the springboot project needs to add the function of startup waiting, that is, when the project is loaded and started, it needs to pop up a customized screen on the desktop, under which there is a progress bar. 1. Add file JWindows.java in the same place as Application import com.CIDataCompare.a ...

Posted by JC99 on Sat, 05 Oct 2019 20:43:59 -0700

Table Analysis of Marketing Module Database: Time-limited Purchase Function

SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall abstract This paper mainly analyzes the relevant functions of the limited time purchase (spike) function, and adopts the form of database table and function comparison. Relevant table structure Time limit purchase form Information used to store time-limit ...

Posted by Ne0_Dev on Sat, 05 Oct 2019 09:31:39 -0700

SpringBoot Downloads Excel Files to Solve File Damage

Recently, in making a module of springboot to download excel files, the downloaded files have been damaged all the time. A lot of solutions can't be found on the internet. The ink has been solved for half a day. The main reason is that the files in springboot's resource directory are automatically compr ...

Posted by lyasian on Sat, 05 Oct 2019 05:53:46 -0700

SpringBoot 2.0 integrates Swagger 2 and builds interface management interface

Introduction to Swagger 2 1. Swagger 2 Advantages Integrate into Spring Boot to build powerful RESTful API documents. Swagger2 also provides powerful page testing capabilities to debug RESTful API without interface document management, code modification and automatic updates. 2. Swagger 2 Common Notes Api: Modify the entire class to describe th ...

Posted by SoundreameR on Fri, 04 Oct 2019 22:40:59 -0700

SpringBook integrates JPA, Mybatis, Druid

I. JPA 1. Creating projects 2. Importing Thymeleaf dependencies in pom.xml files <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...

Posted by andym01480 on Fri, 04 Oct 2019 22:07:52 -0700

jar Exploration of Springboot Source Analysis

Abstract: Using IDEA and other tools to pack will appear springboot-0.0.1-SNAPSHOT.jar,springboot-0.0.1-SNAPSHOT.jar.original, have said the relationship between them before, next we will find out, what is the relationship between them? Document comparison: Enter the target directory and unzip springboot-0.0.1-SNAPSHOT.jar-d jar command deco ...

Posted by jeevan_y21 on Fri, 04 Oct 2019 03:21:15 -0700

Docker deploys SpringBook project

Deploy springboot project on docker First, add the Docker image name to the pom.xml file of the springboot project: <properties> <docker.image.prefix>springboot</docker.image.prefix> </properties> Add docker to plugin to build plug-ins: <build> <plugins> <plu ...

Posted by yjanni on Fri, 04 Oct 2019 00:36:51 -0700

MongoDB Series - Basic Operation of MongoDB in Spring Boot

Basic operations on MongoDB in SpringBoot Creation of Database Library Firstly, the database is created in the MongoDB operation client Robo 3T: Add User: Create Collections collections (similar to tables in mysql): Most of the rest of us are based on the Collection "collection emo" operation created. Dependency package <depen ...

Posted by Ethan28 on Tue, 01 Oct 2019 10:04:58 -0700