Java
-
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…… -
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…… -
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…… -
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…… -
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…… -
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…… -
Detailed explanation of spring boot using thymeleaf template
preface Thymeleaf is a template engine similar to velocity and FreeMarker, which can completely replace JSP. Compared …… -
Explain spring MVC request forwarding and redirection
Comparison between request redirection and request forwarding, httpservletresponse Sendredirect method and requestdisp…… -
Perfectly solve the problem that spring declarative transactions are not rolled back
The @ transactional annotation is added to the service as usual. Why is there data inconsistency when querying the dat…… -
Retrofit + rxjava implementation downloads files with progress
Retrofit + rxjava is already the most mainstream network framework in the market. It is very easy to use it for ordina…… -
Spring cloud uses zuul to implement API gateway service
Through the previous sharing, we learned about several core facilities of microservice architecture. Through these com…… -
Download file with progress display based on retrofit + rxjava
This example shares the specific code of retrofit rxjava to download files for your reference. The specific contents a…… -
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,…… -
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…… -
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…… -
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'…… -
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 …… -
An instance of mybatis preventing SQL injection
SQL injection is a common attack method, which is familiar to everyone. The attacker enters some strange SQL fragments…… -
Analysis of spring declarative transaction management
Cutting edge: through in-depth study of spring transaction management, this article will not do an example, but specif…… -
Method of checking QQ number by Java regular expression
Java regular expression Regular expressions define the pattern of strings. Regular expressions can be used to search, …… -
Java convolutional neural network (Introduction to cupcnn)
preface In machine learning, convolutional neural network is a deep feedforward artificial neural network, which has b…… -
Spring boot cross domain access implementation code
The current version of spring is 4.3 nine PS: spring boot server side settings allow cross domain access Updated on Ap…… -
Parsing the method of mybatis continuously passing multiple parameters
Mybatis is an excellent persistence layer framework that supports common SQL queries, stored procedures and advanced m…… -
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'…… -
Complete example tutorial of spring MVC + fastjason + swagger integration
Basic part 1. Introduction to fastjason Fastjson is a Java library that can be used to convert Java objects into JSON …… -
The list object list in Java implements the method of de duplication or retrieval and sorting
preface Because I have encountered several list de duplication and sorting during the interview, I feel it necessary t…… -
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…… -
Using and configuring Druid with spring boot
1. Import dependent packages 2. Configure application properties 3. At present, the default supported connection pools…… -
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…… -
Spring boot using Druid
Druid is the best database connection pool in the Java language and can provide powerful monitoring and extension func……
