Java
-
Java’s own tool jstack intercepts the stack information in the process
In the process of using java software, strange problems sometimes appear inexplicably. These problems are often unable…… -
Java method for counting the number of occurrences of a specified element in a string
This article explains the method of counting the number of occurrences of a string in the text or the number of occurr…… -
Summary of spring bean method in Java
Spring is a lightweight inversion of control (IOC) and aspect oriented (AOP) container framework. How to obtain spring…… -
Java exports all tables of the database to excel
This example shares the method of exporting all tables of a database to excel in Java for your reference. The specific…… -
Detailed explanation of file reading and writing examples of Java programming
This paper describes the method of file reading and writing in Java programming. Share with you for your reference, as…… -
Detailed explanation of caching technology in Hibernate Framework
This paper describes the caching technology in Hibernate framework. Share with you for your reference, as follows: The…… -
Java implementation of merge sorting algorithm
Merge sort is to divide the unordered array into two arrays. The divided array has only half the number of elements of…… -
Summary of java interface and abstract class usage examples
This article describes the usage of Java interfaces and abstract classes. Share with you for your reference, as follow…… -
Tutorial on using Jackson to realize the mutual conversion between Java objects and JSON
1、 There is an objectmapper class in Jackson, which is very practical for the exchange of Java objects and JSON. 1. J…… -
Java development framework spring implements custom cache tags
Since spring 3 After 1, spring introduced Abstract caching, which can cache the data returned by the method by adding …… -
Two methods of constructing and parsing JSON data using Java (detailed explanation 2)
JSON (JavaScript object notation) is a lightweight data exchange format. It adopts a text format completely independen…… -
Four ways of exporting excel with Java finereport report report tool
In practical applications, it is often necessary to export data into excel. In addition to exporting as is, there are …… -
Three ways to upload files asynchronously in Java
This article shares three Java asynchronous file upload methods for your reference. The specific contents are as follo…… -
Extensible spring custom configuration schema (2)
Namespace support To implement namespace support, you need to inherit from namespacehandlersupport. Add configuration …… -
Java implementation of string matching (based on regular)
There is a string. How to query whether there are y and f characters in it? The darkest way is: Program 1: I know if, …… -
Explain the commit and rollback of transactions in Java’s JDBC API in detail
If the JDBC connection is in auto commit mode and it is in default, each SQL statement is submitted to the database wh…… -
Conversion method between char array (character array) and string type in Java
This article describes the conversion method between char array (character array) and string type in Java. Share with …… -
Sort out the basic descriptors and operators commonly used in Java programming
Descriptors are keywords you add to those definitions to change their meaning. The Java language has many descriptors,…… -
Java operation ant compresses and decompresses files and packages anroid applications in batches
Zip / tar compression and decompression Java actually supports zip and other compression formats, but why do you use a…… -
The difference between serializable and Parcelable of intent transfer objects
Intent is widely used to transfer object data in different components. As we all know, there are two methods to transf…… -
Detailed explanation of interface and abstract class usage examples in Java
This article describes the usage of interfaces and abstract classes in Java. Share with you for your reference, as fol…… -
Java – why use two different algorithms for sorting?
In the arrays class, quick sort is used for sorting primitives, but for sorting objects, it is merge sort I wonder why…… -
Java – execute the jar command to exclude files
I followed the Java archive tool, but I couldn't find how to exclude folders For example, I have files in the working …… -
Java – clean up jetty – delete ‘unnecessary things’
I'm used to using jetty as my web container What I did in the installation step was to get the original tar ball and c…… -
Java – spring data rest adds inheritance issues
I have a spring database on a JPA entity The entity is subclassed through connection inheritance At least automaticall…… -
Java – how to reload properties using spring?
I am using the properties file of spring 3 I want to have a possibility to update some properties in the file and expo…… -
Java – can’t inherit @ component in spring?
In my project, there is a common base class, and all client classes are extended There is an @ Autowired field, which …… -
Java string internship, what is the guarantee?
The problem boils down to the following code: // setup String str1 = "some string"; String str2 = new String(str1); as…… -
Java – how do overloaded methods work?
public class Test1 { public class Test1 { public static void main(String[] args) { Test1 test1 = new …… -
Java – how to reload properties using spring?
I am using the properties file of spring 3 I want to have a possibility to update some properties in the file and expo…… -
How to prune out an integer array in Java?
My number is n. n will be the size of the array int numArray [] = new numArray[N]; However, the contents of the array …… -
Java – common logging and log4j property files
I try to use log4j through commons logging if the log4j property file is not called log4 Properties, you will encounte……
