Recent Posts
-
Maven, mybatis and spring MVC integration and construction of Java framework (picture and text)
This paper mainly introduces maven, mybatis and spring MVC integration and construction of Java framework (picture and…… -
Complete example of minesweeping game and improved version implemented by Java Swing
This paper describes the minesweeping game and its improved version implemented by Java swing. Share with you for your…… -
Example explanation of JXL exporting data to excel
advantage: JXL supports Chinese very well. The operation is simple. The method depends on the name. JXL is a pure Java…… -
How to dynamically inject bean instances in spring
preface There are many ways to inject instances in spring, but due to the different initialization order, the annotati…… -
Example analysis of Java recursive algorithm
The basic idea of recursive algorithm design is: For a complex problem, decompose the original problem into several re…… -
How to use propertysource annotation in spring boot
preface This article will focus on the use of the @ propertysource annotation in spring and how to load the specified …… -
Java implementation of batch writing data to MySQL
This article describes the method of batch writing data to MySQL in Java. Share with you for your reference, as follow…… -
Implementation tutorial of spring boot custom starter
Spring boot uses starter to solve many configuration problems, but how does it solve these problems@ H_ 502_ 1@ Here i…… -
Examples of ANSI, Unicode, BMP, UTF and other coding concepts
1、 Foreword In fact, since I began to write java code, I have encountered numerous problems of garbled code and trans…… -
Detailed explanation of iterator and listiterator instances in Java
Scope and relationship of iterator and listiterator: (1) Iterator can be used to implement overlapping interface list,…… -
Explain how to create a simple web project with eclipse (Graphic)
Eclipse neon Chinese version; 1; Right click New -- > and select dynamic web project 2: Fill in the project name an…… -
Analysis on the implementation of JSON view of custom spring MVC
scene Our team is now facing the problem of multi terminal data interface docking. In order to solve this problem, we …… -
Mybatis loading configuration files (two methods)
I Load using maperlocations of sqlsessionfactory, This method can use wildcards, specify locations, and use multiple l…… -
On mybatis optimistic lock plug-in
Background: for the same record in the database, if two people modify the data at the same time, and then finally sync…… -
Redis and SSM integration method (mybatis L2 cache)
SSM + redis integration The SSM framework has been built before, and code copying is no longer done here. Redis is mai…… -
Complete example of Snake game implemented by Java Swing framework
This article describes the greedy Snake game implemented by Java Swing framework. Share with you for your reference, a…… -
Implementation of network data cache interceptor Interceptor Based on okhttp3 (supporting retrofit)
Preface: some time ago, when developing the app, it often occurred that due to the user's equipment environment, the d…… -
Implementation of network data cache interceptor Interceptor Based on okhttp3 (supporting retrofit)
Preface: some time ago, when developing the app, it often occurred that due to the user's equipment environment, the d…… -
Java implements a simple timer code analysis
We see a lot of timing functions on mobile phones, such as regular garbage cleaning, alarm clock, etc Timer object is …… -
Spring boot uses logback, logstash and elk to record log files
Under spring boot, try to log to logstash using log4j, and add log4j in Src / main / resources directory The custom ou…… -
Detailed explanation of session addition, deletion, modification and query operation code in Hibernate
Put the three state transition diagram here to facilitate the function of the analysis method: 1. Save() method of ses…… -
23 design patterns (15) Java Interpreter pattern
23 design patterns Part 14: Java Interpreter pattern Definition: given a language, define a representation of its gram…… -
Detailed explanation of Java function idioms
In Java programming, some knowledge can not be learned only through language specifications or standard API documents.…… -
Detailed explanation of the use and principle of Android handlerthread
1、 Meaning of handlerthread Handlerthread can create a new thread with looper. This looper can be used to create othe…… -
Detailed explanation of fragment loading mode and data communication in Android
1、 Loading mode 1. Static loading 1.1 loading steps (1) Create fragment: create a custom fragment class, inherit from…… -
Android JSON parsing data Android parsing weather forecast
outline The author recently achieved the analysis of JSON data of weather forecast, which is recorded here. Weather fo…… -
Android imitation IOS custom alertdialog prompt box
This paper introduces the implementation of the imitation IOS dialog box. Let's take a look at the effect picture firs…… -
Summary of several common memory leaks in Android
1、 Background Recently, in the version iteration of the project, there were some episodes of memory problems, and the…… -
Android zxing based two-dimensional code (grid) scanning Alipay like grid scanning
Introduction: for two-dimensional code scanning, we use the open source framework Zxing or Zbar, which uses zxing base…… -
Android simulated news app display interface sliding optimization example code
Content: 1. Sliding optimization (images are not loaded when sliding, and only when stopped) 2. Manual loading on firs…… -
Simulated QQ message drag and drop deletion effect of Android custom view
The realization of this simulation function mainly depends on path and second-order Bessel curve. First, let's take a …… -
Leakcanary, a sharp tool for Android memory leak troubleshooting
This article shares the Android memory leak troubleshooting tool for your reference. The specific contents are as foll……