包含标签:Java 的文章
-
Method for setting savepoint of transaction rollback in JDBC usage of Java
New JDBC 3 The interface to the 0 savepoint provides additional transaction control. Most modern DBMS in their environ…… -
Extensible spring custom configuration schema (2)
Namespace support To implement namespace support, you need to inherit from namespacehandlersupport. Add configuration …… -
Notes on learning the basic concepts of object-oriented programming in Java
Personally, the so-called class in programming is the same concept as the class in the classification of objects in th…… -
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, …… -
Method of connecting database and creating program using JDBC API in Java programming
JDBC connection database The programming involved in establishing a JDBC connection is quite simple. Here are four sim…… -
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…… -
Java binary file transfer based on TCP
A complete example of file transmission based on java socket protocol is completed based on TCP communication. In addi…… -
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…… -
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 …… -
Explain the cache and secondary cache in the Hibernate framework of Java in detail
cache Today, let's talk about the entity state and Hibernate cache in hibernate. 1) First, let's take a look at entity…… -
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…… -
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’s own messagedigest implements the MD5 encryption algorithm for text
In this article, the MD5 encryption algorithm for text is implemented by using the messagedigest provided by Java. The…… -
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 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…… -
Java uses gson to parse JSON data instances
JSON (JavaScript object notation) is a lightweight data exchange format, which is easy to read and write, and easy to …… -
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…… -
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…… -
Java implementation of two-way linked list (two versions)
Near the Spring Festival, all the projects are over and waiting to go home for the new year. The following is the rele…… -
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 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 EE – in JBoss 7.0 URL without jssessionid running in 1 does not work
For some security reasons, I think jsessionid in URL is prohibited from session tracking Before I put the web Before c…… -
Java – how to calculate the number of rows in jtextarea, including the number of rows caused by packaging?
I have a jtextarea. I have set word wrap and wrap style word to true I want to "wrap" the jtextarea to the minimum pos…… -
Array – what is the difference between a.length and a.heap-size?
I have a question about heap sorting It points out in the book "algorithm" that a.heap-size < = a.length Solution T…… -
Java – use the eclipse code formatter from your own program
Recently I wrote some tools to help me generate java code, otherwise it will be a long and tedious task I use freemake…… -
Java – what hashing techniques are used when building Bloom filters in clojure?
I want to build a bloom filter in clojure, but I don't know much about all the hash libraries that may be available in…… -
Java – a good programming practice for static initialization?
In Java, we use static initialization blocks: private static final ApiKey API_KEY; static { API_KEY = new ApiKey(…… -
Java – face detection is not applicable to front camera
So basically I have this code, if(mCamera.getParameters().getMaxNumDetectedFaces()==0) { System.ou…… -
Quicksort algorithm program in Java
I'm trying to implement the Quicksort algorithm program in Java, but I got the wrong answer public class QuickSort { …… -
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 – layout preview rendering problem: porterduff color filter is not supported
After creating the navigation drawer activity in Android studio 1.4, the IDE will automatically generate some XML file…… -
Java – provides two different class instances of the same hashcode
I encountered a strange problem on the JBoss server, where two classes generated the same hashcode () Class<?> c……