Java
-
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…… -
Introduction to using preconditions to check incoming parameters in Java
Preconditions is a class library in guava, which is used to check the incoming parameters. A common usage is as follow…… -
Java generate graphic verification code tool class
Generate verification code effect ValidateCode. Java verification code generation class ImgFontByte. java ValidateCode…… -
Introduction to some new features of Java 9
Accepted characteristics 1 Jigsaw project; Modular source code Jigsaw project is to modularize java code and divide JR…… -
Explanation of enumset instead of bit field code in Java
This paper mainly studies the related content of enumset instead of bit field in Java, which is introduced as follows.…… -
Method to solve the problem of invalid hibernate 4 execution of save() or update()
Recently, I encountered a problem when writing the online mall project: Hibernate did not have any effect after execut…… -
Introduction to session and persistence classes in the Hibernate framework of Java
The session object is used to obtain a physical connection to the database. The session object is lightweight, and an …… -
Java implementation of string permutation and combination
This paper introduces the string arrangement and combination in Java for your reference. The specific contents are as …… -
Judgment of Java interview question parsing and prevention of SQL injection
This paper mainly studies a common question in Java interview questions, the problem of judging and preventing SQL inj…… -
Example of integrated development of spring boot, spark and Cassandra systems
This article demonstrates an example of using spark as the analysis engine, Cassandra as the data store, and spring bo…… -
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…… -
Specific methods used by spring’s resttemplata
Basic concepts Spring resttemplate is a client provided by spring to access rest services. Resttemplate provides a var…… -
Code example of equivalence between instanceof and class in Java
This paper mainly studies the equivalence between instanceof and class in Java, as follows. The instanceof operator in…… -
Spring + junit4 interface test example code
This paper mainly studies a relevant example of Spring + junit4 interface testing. The specific implementation code is…… -
Spring learning creation project Hello spring instance code
This paper mainly studies the example code of Hello spring, the creation project of spring learning, as follows. 1、 C…… -
Robot function of Java robot application example
Many times, we hope to realize automatic testing, automatic demonstration function, or other mouse and keyboard contro…… -
Java PDF layer adding method supports multi page layer adding
Java PDF adds layers, and supports the addition of multi page layers, as shown below code: Test: result: Original PDF:……
