Java
-
Examples of using java multithreaded return values (callable and futuretask)
The callable interface is similar to runnable, which can be seen from its name, but runnable does not return results a…… -
Detailed explanation of spring boot integration mybatis (annotation method)
Mybatis is an excellent persistence layer framework that supports customized SQL, stored procedures and advanced mappi…… -
Comparison of runnable, callable, future and futuretask in Java
Comparison of runnable, callable, future and futuretask in Java There are several thread related classes or interfaces…… -
Java implementation uses FreeMarker to perfectly export word documents (with pictures)
preface Recently, in the project, due to the customer's requirements, the page content (such as contract agreement) wa…… -
It perfectly solves the problem that ports such as 8080 are occupied when deploying Tomcat on eclipse
Problem Description: When deploying Tomcat in eclipse, the following error occurs. The solution is as follows: Method …… -
Java reads the picture from the network and saves it to the local instance
This example shares the specific code that Java reads pictures from the network and saves them locally for your refere…… -
Detailed explanation of communication examples between threads in Java multithreading
Communication between threads in Java multithreading 1、 Use the while mode to realize the communication between threa…… -
Java implementation of fuzzy matching files under a folder and delete function example
This example describes the function of fuzzy matching and deleting files in a folder implemented in Java. Share with y…… -
Sample code for integrating fastdfs using spring boot
In this article, we introduce how to use spring boot to upload files to the distributed file system fastdfs. This proj…… -
Detailed explanation of the method of using condition class to operate lock in Java multithreaded programming
The function of condition is to control the lock more accurately. The await() method in condition is equivalent to the…… -
Detailed explanation spring boot uses redis cluster to replace mybatis L2 cache
1 . pom. Add dependency to XML 2 . To configure the redis cluster, refer to the official spring data redis documentati…… -
Summary of this escape problem in Java Concurrent Programming
This escape means that other threads hold a reference to the object before the constructor returns Calling methods on …… -
Java 9 distinguishes between opens and exports
order This article focuses on some considerations for migrating to Java 9. Migration type Several precautions Unreadab…… -
Java implementation of simple console address book
The sub menus at all levels are controlled through the main menu, and the functions of adding records, finding records…… -
Java implementation of XML file student address book
Java realizes the student address book, uses XML file as data storage, and realizes the functions of adding, deleting,…… -
Java array permutation and combination problem summary
During the interview or written examination, I have encountered the following four hand tearing algorithms for arrange…… -
Summary of frequently asked questions about feign in spring cloud
1、 Feignclient interface, cannot use composite annotations such as @ gettingmapping Code example: The @ requestmappin…… -
In depth analysis of zuul filter built in spring cloud
preface Spring cloud is written and enabled for zuul by default. What are the functions of these filters? We might as …… -
Experience of escape in Java
It is generally believed that new objects are allocated on the heap, but this is not entirely correct. Through the ana…… -
The method of using swagger bootstrap UI in spring boot
Swagger bootstrap UI is a set of UI based on swagger interface API. Because swagger native UI is a top-down structure,…… -
Example of two-dimensional array transpose function realized by Java programming
This paper describes the transpose function of two-dimensional array realized by Java programming. Share with you for …… -
Simple digital processing classes implemented in Java and usage examples
This paper describes the simple digital processing class and usage implemented in Java. Share with you for your refere…… -
Java uses DOM to add, delete, modify and query XML documents
This paper mainly studies the relevant code of adding, deleting, modifying and querying XML documents using DOM in Jav…… -
Java development tool eclipse tips global search and replacement
This paper mainly studies the global search and replacement in eclipse. Let's take a look at the specific operation me…… -
Java implementation of swing component custom button example
This article describes the implementation of swing component custom button in Java. Share with you for your reference,…… -
Learning experience of Java exception handling
There are always various problems in the program. In order to make the program run normally during the execution proce…… -
Spring boot integration mybatis + mybatis plus example code
Spring boot is a new thing for me. During the learning process, I found that it is still easy to get started. Spring d…… -
Interceptor and filter of spring boot project
@H_ 403_ 2 @ I. interceptors and filters Before we talk about spring boot, let's take a look at filters and intercepto…… -
Three ways of spring circular dependency (recommended)
Introduction: circular dependency is a circular nested reference in n classes. If this circular dependency occurs in t…… -
How does jsoup crawl images to local
Because of the project demand, the vehicle brand information and vehicle series information are needed. Yesterday, I s…… -
Tool classes for common Java regular expressions
This example shares the specific code of Java regular expression tool class for your reference. The specific contents …… -
Java calculates the range of motion of the robot
The motion range of the robot java version, the specific contents are as follows There is a square with M rows and N c……
