Java
-
Java implements the copying of files or folders to the specified directory instance
Sort out the documents, search out the code of a java implementation file or folder copied to the specified directory,…… -
Several methods of writing user information to database with high concurrency in Java
Suppose such a situation exists Multiple users write to the database. Our business logic stipulates that each user can…… -
Detailed explanation of AOP annotation development example in spring
1、 Introduction AOP mainly includes terms such as notification, pointcut and connection point, which are introduced a…… -
Java spring annotation based AOP exception handling method
1、 Foreword When the project was just developed, it was not well prepared. When the development reaches a certain lev…… -
Java note learning operator
0x001 arithmetic operator 0x002 self increasing and self decreasing 0x003 relational operator 0x004 logical operator 0…… -
Brief introduction to Java relational operators
Brief introduction to Java relational operators EQ -- equal to, NEQ -- not equal to, lt -- less than, LTE -- less than…… -
Spring implements AOP using AspectJ annotations and XML configuration
This article demonstrates how to implement AOP in spring by using AspectJ annotation and XML configuration The followi…… -
An example of using java code to simulate highly concurrent operations
In Java, the synchronized keyword and lock lock are used to realize the concurrent access control of resources. At the…… -
Explain in detail the voice of spring learning and explicit transaction management
preface In the previous section, we learned about the concept of transaction and the importance of transaction managem…… -
Usage and example explanation of rxjava library operator of Java
The operator is to solve the problem of transformation of observable objects. The operator is used to modify the event…… -
Implementation principle of volatile in Java high concurrency
Implementation principle of volatile in Java high concurrency Absrtact: synchronized and volatile play an important ro…… -
Java method for creating and deleting files and directories (recommended)
Methods for creating and deleting file classes commonly used in files / directories 1. Boolean exists(): judge whether…… -
Zuul implementation of API gateway and request filtering in spring cloud introductory tutorial
brief introduction Zuul is Netflix's JVM based router and server-side load balancer. The most common scenario is to re…… -
Quartz method for realizing dynamic configuration of Java timing task
Let's talk about some problems that have nothing to do with this article. This period of time is particularly uncomfor…… -
The Java implementation terminates the running scheduled task in the thread pool
Recently, a new requirement in the project is to realize a function that can dynamically add scheduled tasks. At this …… -
Explain bitwise operators in Java
The bit operator of Java is used to operate on a single "bit" in the basic data type of an integer, that is, the hexad…… -
Understanding and testing of functional interface based on Java 8
1. Understanding of functional interfaces According to the idea of refactoring, modules that are easy to change need t…… -
The spring boot + thymeleaf backend directly assigns values to the onclick function
This is the return from the controller page JS The above is the implementation code of spring boot + thymeleaf backend…… -
Using and configuring Druid with spring boot
1. Import dependent packages 2. Configure application properties 3. At present, the default supported connection pools…… -
On the difference between # and $in mybatis and the methods to prevent SQL injection
The difference between # and $in mybatis 1. # treat the incoming data as a string, and add a double quotation mark to …… -
The instance code of the mybatis pass in parameter
The parametertype attribute is mentioned in the select, insert, update and delete elements of mybatis. The parameterty…… -
Configuration method of specifying output file location based on Web Project Log
First, we define a webapprootkey that can dynamically find the path of the project at runtime. The reason for this is …… -
Spring boot using Druid
Druid is the best database connection pool in the Java language and can provide powerful monitoring and extension func…… -
How to use Java array correctly in instance parsing
1、 On the characteristics of arrays 1 In Java, whether you use arrays or collections, there are boundary checks. If t…… -
How does Java create files in a directory where no folder exists
The core code is as follows: 1、 2、 summary The above is what Xiaobian introduced to you about how Java creates files…… -
Summary of four methods of passing multiple parameters in mybatis
preface Now most projects use mybatis, but some companies use hibernate. The biggest feature of using mybatis is that …… -
Spring boot uses Druid for dimension statistics and monitoring
Druid Druid: a database connection pool framework for monitoring. The whole project is composed of database connection…… -
Detailed explanation of mybatis method to prevent SQL injection
SQL injection is a very simple attack, but it is still very common today. The reason is no patch for stupid. Why? Let'…… -
Solutions for mybatis to pass multiple parameters (three)
The editor will share three solutions to the problem of mybatis passing multiple parameters. The details are as follow…… -
Redis introduction and usage scenario explanation
This article mainly introduces the introduction and usage scenarios of redis. Xiaobian thinks it's very good. Now I'll…… -
In depth understanding of cookies and sessions in Java Web Learning
The difference between cookie mechanism and session mechanism Specifically, the cookie mechanism adopts the scheme of …… -
Rxjava + retro fit + MVP realize shopping cart function
This example shares the specific code of rxjava retro to realize the shopping cart for your reference. The specific co……
