Spring Boot Task Scheduling

2.1.12 Timing Tasks The Spring framework comes with task scheduling capabilities that are like a lightweight Quartz and are easy to use without relying on other JAR packages. Simply add @EnableScheduling to the project master startup class to turn on task scheduling @SpringBootApplication @EnableScheduling public class LearnApplication { p ...

Added by Desbrina on Mon, 15 Jun 2020 21:10:56 +0300

jdbc advanced custom connection pool and custom jdbc framework

JDBC advanced Use of JDBC connection pool The concept of database connection pool Database connection is a key and limited resource. When java program and database get the connection, it consumes resources especially. Therefore, a database connection pool is created to manage the connection betwe ...

Added by shane0714 on Mon, 15 Jun 2020 11:47:18 +0300

SQL Server advanced query and T-SQL programming and transaction DQL+DML+DDL+DCL to realize warehouse inventory management system (example code display)

SQL Server advanced query and T-SQL programming to realize warehouse inventory management system SQL Server advanced query and T-SQL programming SQL Server advanced query and T-SQL programming to realize warehouse inventory management system 1. Language and environment 2. Functional requirements 3 ...

Added by bleh on Sat, 13 Jun 2020 09:21:58 +0300

LAMP builds forum and blog platform

Article catalog What is LAMP Build Forum Build a blog What is LAMP LAMP refers to Linux (operating system) + Apache (HTTP server) + MySQL/MariaDB (database) and PHP (network programming language), which are generally used to build a web application platform. Build Forum 1. First, make sure you ...

Added by V34 on Sat, 13 Jun 2020 08:39:11 +0300

Detailed process of springboot framework building

1. Create 1.1 Create a new springboot project, as shown in the figure. 1.2 Select Spring Initializr. 1.3 Fill in Group, Artifact, and Name, where you choose the default, then click next, as shown in the following image. 1.4 Choose the components you want: The basic components are the web and web s ...

Added by Jax2 on Thu, 11 Jun 2020 19:19:20 +0300

Distributed Lock+Redis for Cluster Business Data Caching

Article Directory Distributed Lock 1. Distributed Lock Implementation 2. Distributed Lock Using redis Learning optimization summary Problems in the redis cluster state: Solving distributed locks using redisson 1. Import dependent service-util 2. Configure redisson Reentrant Lock Test Code Dis ...

Added by dev99 on Wed, 10 Jun 2020 19:17:31 +0300

Java implements 23 design patterns: sharing element pattern

Classification of 23 design patterns 1, Overview Definition of Flyweight pattern: using sharing technology to support reuse of a large number of fine-grained objects. It can reduce the number of objects to be created and avoid the cost of a large number of similar classes by sharing the existing o ...

Added by bronzemonkey on Wed, 10 Jun 2020 07:10:32 +0300

django user authentication component auth

brief introduction django provides a very useful component which is responsible for the full set of functions of user login authentication, which is the auth component. With the auth component, we no longer need to manually write the login check decorator, nor set session s manually to save user state. The django project executes the databas ...

Added by oughost on Wed, 10 Jun 2020 04:51:49 +0300

CSS_ Necessary knowledge of back-end Engineer - from entry to detailed explanation of dissuasion - painstaking writing (funny)

Article catalog 1, CSS introduction 2, Grammatical format 3, How to use CSS 1. Embedded 2. Outer chain 3. Line style 4. Three style priorities and application scenarios 4, Selector 1. Basic selector 1. All tuple selection 2. Label selector 3. id selector 4. Class selector 5. Overall operation cod ...

Added by rsnell on Tue, 09 Jun 2020 05:00:57 +0300

Page Search Box Date Search Criteria Data to Background Type Conversion (Timestamp)

The date type defined by the background database is Long, which is stored as a time stamp; the date type of the search box on the page is String.The String and Long types of dates are not equal on time stamps! I show you how to convert date types in my code, and you can understand the difference between debug and timestamp converters.     1. Fi ...

Added by zahadum on Mon, 08 Jun 2020 19:15:00 +0300