Java
-
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…… -
Java method example for reading files in the resource directory
This article mainly introduces the method of Java reading files in the resource directory. For example, this is the st…… -
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…… -
Java uses delimiters to connect instances of each element in an array
As follows: The above example of Java using separators to connect each element in the array is all the content shared …… -
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…… -
How to solve instant high concurrency in Java Web
1. Any high concurrency request will always have an order 2. The data structure of Java queue is the value order of fi…… -
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…… -
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'…… -
Explain in detail how to use spring security to solve CSRF problems
CSRF introduction CSRF (Cross Site Request Forgery), Chinese Name: Cross Site Request Forgery, also known as one click…… -
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 …… -
How to use MySQL for Java Web Learning in the project
preface Awkward: access denied for user 'root' @'localhost 'using password yes Sometimes, when connecting to MySQL dat…… -
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…… -
Spring boot uses druid and monitoring configuration methods
The default data source of spring boot is: org apache. tomcat. jdbc. pool. DataSource Druid is the best database conne…… -
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 ……
