Recent Posts
-
Method of realizing Android click event with kotlin
Recently, Google announced that kotlin has become a first-class development language for Android. So I just made a sim…… -
Explain several ways for Android to obtain the unique ID of the device
Let's take a look at several simple methods: IMEI Method: telephonymanager. Getdeviceid(): problem MAC address ACCESS_…… -
Android uses dowanloadmanager to download and obtain download progress instance code
Android uses dowanloadmanager to download and obtain download progress instance code @ h_ 502_ 2@ -
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 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,…… -
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…… -
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…… -
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…… -
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…… -
Explain spring MVC request forwarding and redirection
Comparison between request redirection and request forwarding, httpservletresponse Sendredirect method and requestdisp…… -
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 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…… -
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…… -
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…… -
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…… -
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…… -
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…… -
Java note learning operator
0x001 arithmetic operator 0x002 self increasing and self decreasing 0x003 relational operator 0x004 logical operator 0…… -
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…… -
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…… -
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 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 …… -
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…… -
Detailed explanation of the use and parsing of property placeholder in spring
When we develop applications based on spring, we usually put the database configuration in the properties file Summary…… -
spring boot 1.5. 4. Integrate Shiro + CAS to realize single sign on and permission control
1. Add Maven dependency (install cas-server-3.5.2 first. Please refer to the article for the installation steps) 2. Ad…… -
Java 8 functional interface and functional interface examples
A functional interface is an interface that has only one abstract method, but can have multiple non abstract methods. …… -
Rxjava + retro fit + MVP to realize shopping cart
This example shares the specific code of rxjava retro to display the shopping cart for your reference. The specific co…… -
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 …… -
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…… -
Implementation principle of volatile in Java high concurrency
Implementation principle of volatile in Java high concurrency Absrtact: synchronized and volatile play an important ro…… -
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…… -
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……