Java
-
Inheritance and abstract code examples of beans in spring
When we apply spring, we must use abstract classes in general design. How to configure these abstract beans in spring.…… -
Comparison of object placement arrangement between Java and C + +
Comparison of object placement arrangement between Java and C + + Summary: In Java, all objects are stored in the heap…… -
Java method example of sending HTTP request through httpclient
Introduction to httpclient Httpclient is not a browser. It is a client HTTP communication implementation library. The …… -
Spring’s programmatic and declarative transactions
Entrance (understand some basic concepts) Spring transaction properties (what are the properties of transactions?) We …… -
Implementation of multi condition query of mongodb with Java
Requirement: in the mongdb client, we can easily implement multi condition query, so how to implement it when using ja…… -
Detailed examples of Java custom exception classes
Detailed examples of Java custom exception classes Why write your own exception class? If there is no exception provid…… -
Solution to the problem of java thread deadlock
Solution to the problem of java thread deadlock [thread deadlock] Reason: two threads wait for resources locked by eac…… -
Explain in detail how to use Maven to build a multi module project (picture and text)
Maven multi module project is applicable to some large projects. Through reasonable module splitting, code reuse is re…… -
On local and global variables in Java
This paper introduces the local variables and global variables in Java as follows: 1. Local variables: Definition of l…… -
Java method of uploading and downloading files through httpurlconnection
This paper introduces the method of uploading and downloading files through httpurlconnection in Java and shares it wi…… -
Reentry lock and read-write lock in Java Concurrent Programming
Reentry lock Reentry lock, as its name suggests, is a lock that supports reentry. It means that the lock can support r…… -
Details of spring transaction propagation properties and isolation levels
1 propagation attribute of transaction 1) Required, this is the default attribute Support a current transaction,create…… -
Java spring annotation configuration bean instance code parsing
The previous articles all use XML to configure beans. If there are hundreds of beans, this is unimaginable. Therefore,…… -
Detailed explanation of spring boot JPA data deletion and transaction management
Today we'll introduce some pitfalls of JPA deletion and transaction. Let's take a look at the details. Business scenar…… -
Setting up spring security environment
At present, spring officially only provides Maven download methods. But in http://maven.springframework.org There are …… -
Struts 2 development process and detailed configuration
1: Struts development steps: 1. Web project, introduce struts - jar package 2. web. The core function of struts is in…… -
Implementation steps of sending SMS in Java
1、 Registering users in China Netcom: This program is implemented through the SMS platform provided by China Netcom. …… -
Spring cloud and distributed system
This article is not a tutorial on how to use spring cloud, but discusses what spring cloud is, and the background and …… -
Adapter pattern of design pattern in Java
Adapter pattern of design pattern in Java preface: The adapter pattern can apply a class or interface to another diffe…… -
Detailed explanation of Java data structures and algorithms (ordered array and binary search)
1、 Overview Binary search is often used in ordered arrays, which can improve the speed of search. Today, we use seque…… -
Analysis and solution of faults caused by the same bean ID in spring
preface Recently, a colleague's bean configuration problem caused the production environment to write a large amount o…… -
General steps of sending email in Java (example explanation)
General steps of sending email in Java 1、 Import the jar package of JavaMail: 2、 Create a test class to write the ma…… -
Performance comparison of Java template engine
From GitHub to JSP, thymeleaf 3, velocity 1.7, FreeMarker 2.3 23 comparing the performance of several mainstream templ…… -
Itemxt generates PDF and sets an example of header and footer
Itemxt generates PDF and sets an example of header and footer Example code: Engineering structure drawing: If you have…… -
Java read and write parquet format data example code
This paper introduces how to read and write parquet data in Java and share it with you, as follows: Talk about the sch…… -
Detailed explanation of Java layering concept
Service is the business layer The action layer acts as the controller Dao (data access object) data access 1. What is …… -
Implementation method of cross domain request of CORS in Java
problem When developing projects using the front-end and back-end separation mode, we often encounter such a problem -…… -
Spring spel expression usage example
Spring in action third edition reading notes spring3. 0 introduces spring expression language (spel), which we can imp…… -
Explain how to use spring security for automatic login authentication
In the previous blog's detailed configuration method of using spring MVC to create web projects and using spring secur…… -
Analysis of openfire cluster source code
This article introduces the relevant contents of openfire. It seems that there are not many people using this thing no…… -
Detailed explanation of single example mode of Java design pattern [lazy and hungry]
This article describes the singleton pattern of Java design pattern. Share with you for your reference, as follows: Si…… -
Log4j_ Configuration method (comprehensive explanation)
1、 Log4j introduction Log4j has three main components: loggers, Appenders, and layouts. It can be simply understood h……
