Java
-
Java implementation of a simple example of music player
Java implementation of a simple example of music player Implementation effect diagram: The code is as follows If you h…… -
Introduction to JNDI, JTA and JMS
What is JNDI Principle: multiple database connections are established in the datasource in advance and saved in the da…… -
Detailed discussion on transaction management of spring framework
1、 Programming transaction 2、 Declarative transaction 1. XML based transactions 1.1 spring configuration file 1.2 bu…… -
Implementation method of how to dynamically create interface in Java
There are many application scenarios that use dynamic interface implementation. Here are some typical applications: 1.…… -
Analysis on the execution of static code blocks in Java
preface Generally, if some code must be executed when the project is started, static code blocks need to be used, and …… -
On the static and dynamic problems of Java
Cannot make a static reference to the non-static field Non static member variables and methods cannot be referenced in…… -
Java random number algorithm principle and implementation method example explanation
This article describes the java random number algorithm. Share with you for your reference, as follows: The algorithms…… -
What is IOC in spring
IOC - inversion of control In java development, IOC means that your designed class is controlled by the system, not wi…… -
Java simple method example of reading properties configuration file
This article describes the method of simply reading the properties configuration file in Java. Share with you for your…… -
How to use this and super keywords in Java
How to use this and super keywords in Java I've seen that this and super are used in class inheritance these days. Her…… -
Detailed explanation of Java synchronized nested usage code
When synchronized is used too much, it may cause deadlock. What's the matter with deadlock. First look at the followin…… -
Detailed explanation of Lombok installation and use in spring boot
preface As we all know, spring boot is a very efficient development framework. Lombok is a set of code template soluti…… -
A brief talk on methods and method overloading in Java
Today, let's talk about methods and method overloading in Java and some points that need attention; method: The method…… -
Shiro control concurrent login limit and login kick out implementation code
We often find it useful that when user a logs in in Beijing, and then user a logs in again in Tianjin, it is necessary…… -
Detailed examples of Java callback mechanism
Detailed examples of Java callback mechanism preface Recently, I came into contact with the callback mechanism. When I…… -
-
Application example of delayqueue in Java multithreading concurrent development
In the process of learning java multithreading concurrent development, I learned that the delayqueue class is an unbou…… -
What you need to know about java reflection mechanism
As we all know, in order for Java programs to run, Java classes must be loaded by the Java virtual machine. Java class…… -
In depth understanding of java reflection mechanism
In depth understanding of java reflection mechanism I Concept Reflection is to map various components of Java into cor…… -
Explain the difference between sleep () and wait () in Java
Explain the difference between sleep () and wait () in Java For the sleep () method, we first need to know that the me…… -
Analysis of basic concepts of java thread safety
A preliminary understanding of java thread safety. Generally speaking, java thread safety refers to a feature of Java …… -
Deep understanding of Java interfaces and abstract classes
Deep understanding of Java interfaces and abstract classes Abstract is one of the characteristics of object-oriented p…… -
Detailed examples of deadlock in Java
Detailed examples of deadlock in Java First look at the code to explain The above is the code part. If there is no dea…… -
Detailed explanation of abstract factory pattern example of Java design pattern
This paper describes the abstract factory pattern of Java design pattern. Share with you for your reference, as follow…… -
Hadoop 1.0 under VMware virtual machine Installation method of X
This is the first record of Hadoop learning. In this article, I will introduce how to install Hadoop 1. 0 under Linux …… -
Detailed examples of Java multithreading usage
Detailed examples of Java multithreading usage preface: The most comprehensive Java multithreading usage analysis. If …… -
Implementation of queue source code based on zookeeper
Implementation principle The first in first out queue is the most commonly used queue. Using zookeeper to implement th…… -
Explain Shiro caching mechanism in detail
Shiro provides a cache abstraction similar to spring, that is, Shiro does not implement cache itself, but abstracts th…… -
Examples of Java programming thought object
Java provides a variety of ways to accommodate objects (or object handles). Let's take a look at these ways. There are…… -
Default methods instance resolution
This is how the Oracle official website introduces the default method. Using the default method can add new functions …… -
Solution to the problem of inserting data into MySQL by Java
How to solve the problem of Java inserting data into MySQL? The default code of MySQL is Latin1 Create a data table an…… -
Code analysis of RTTI and reflection mechanism in Java
RTTI, namely run time type identification. Runtime type recognition is a very useful mechanism in Java. In Java runtim……