Java
-
Java calling DLL method summary
JNI and jnative are commonly used. Note: when Java calls DLL, corresponding processing must be done in DLL. Columns su…… -
Java determines whether the instance entered by the user contains at least N decimal places
Judge whether the entered by the user contains at least N decimal places. 1. Throw an exception and return false when …… -
Maven based SSM framework integration example code
Basic concepts 1.1、Spring Spring is an open source framework. Spring is a lightweight java development framework risi…… -
Four ways to solve hibernate lazy loading
This paper summarizes four ways to solve the problem of Hibernate lazy loading in the process of learning hibernate. T…… -
Introduction and example summary of Java programming reflection mechanism
This article illustrates the usage of Java programming reflection mechanism. Share with you for your reference, as fol…… -
Introduction to struts 2 (build environment, configuration and examples)
Learn the introduction course of struts 2 on the website, and download the latest struts-2.5 on the official website 5…… -
Detailed analysis of Java comparison problems
The comparison problem in Java is a very basic and confusing problem. Today, I will summarize and sort out several err…… -
Detailed interpretation of IO flow in Java
A stream is a series of data. When there is data interaction between different media, Java uses stream to realize it. …… -
On the urgent loading problem of Hibernate (multiple foreign key Association)
The database structure is as follows Foreign key member in strategy_ ID (associated member table) foreign key strategy…… -
Java language describes the correct implementation of redis distributed lock
Distributed locks are generally implemented in three ways: 1 Database lock; 2. Redis based distributed locks; 3. Distr…… -
Java phantom JS completes the HTML image output function
Output HTML web pages as pictures @ h with phantomjs_ 502_ 1@ 1. Background @ h_ 502_ 1@ How to generate a map in the …… -
Swing jtextarea scroll bar and text zoom effect
This example shares the specific code of swing jtextarea scroll bar and text scaling for your reference. The specific …… -
Java uses XOR operation to realize simple encryption and decryption algorithm example code
Java simple encryption and decryption algorithm, using XOR operation Example 1: Example 2 summary The above is all abo…… -
Java file reading and writing IO / NiO and performance comparison, detailed code and summary
After working in Java for so long, I have been working on web related projects, and some basic classes have almost bee…… -
Example explanation of Lucene’s implementation of index and query
0 Introduction With the development of the world wide web and the advent of the era of big data, a large amount of dig…… -
Java IO stream reads pictures for foreground display code sharing
Recently, the project needs to use the IO stream to read pictures to provide foreground page display. In the past, the…… -
Code analysis of XOR in Java
There is an XOR operator in the bit operators of Java, which is represented by the symbol (^). Its operation rule is: …… -
Java basics essay
1. Basic concepts IO is the process of copying data from main memory and external devices (hard disk, terminal, networ…… -
Analysis of the reason why JavaWeb dbutils cannot find the content when executing SQL commands and traversing the result set
The reason why JavaWeb dbutils cannot find the content when executing SQL command and traversing the result set and th…… -
Java recursive algorithm traversal department code example
Recursion is a very useful knowledge point. Write some examples to help you remember There is process code in the midd…… -
Spring security custom authentication login process record
Spring security usage categories: I believe Baidu knows how to use spring security. There are four kinds of usage, fro…… -
Javacv uses ffmpeg to play audio and video synchronously
Recently, the ffmpegframegrabber frame catcher of the ffmpeg package of javacv played the captured audio frames and vi…… -
Example explanation of string boot and custom interceptor
I've learned about filters before, but the filters are for servlets. They are used in spring MVC and spring boot. In t…… -
On the urgent loading problem of Hibernate (multiple foreign key Association)
The database structure is as follows Foreign key member in strategy_ ID (associated member table) foreign key strategy…… -
Form drag and stretch based on swing
This paper shares the specific code of swing to realize form drag and stretch for your reference. The specific content…… -
MyEclipse + Tomcat + Maven + SVN project complete environment construction (Graphic tutorial)
This time, I changed a computer, so I need to reconfigure the project development environment. All kinds of in the pro…… -
Learning Java Memory Model JMM experience
Sometimes, the optimization of compiler and processor will cause the runtime to be different from what we think. There…… -
Java programming implementation of hexadecimal string XOR operation code example
I haven't written a blog for a long time. I feel so busy in the last year. I can't finish all kinds of work. I believe…… -
Application notes of java reflection in practical work
Recently, I encountered such a problem in my work: Make a test tool for all interfaces in a project, using Java Swing …… -
Spring boot is packaged and deployed to Tomcat of remote server
preface Spring boot projects are generally run with embedded Tomcat or jetty servers. War packages are rarely deployed…… -
Java dynamic compilation execution code example
In some cases, we need to dynamically generate java code, compile it dynamically, and then execute the code. Java API …… -
Example of Java method for calculating the number of black holes
This paper describes the method of calculating the number of black holes in Java. Share with you for your reference, a……
