Recent Posts
-
Example analysis of HashSet’s principle of removing duplicate values
The set in Java is a set that does not contain duplicate elements, specifically, E1 Element pair of equals (E2). Null …… -
Implementation of Sudoku game interface in Java version (II)
This example shares the specific code for the implementation of the Sudoku game interface in Java for your reference. …… -
Properties configuration in mybatis (recommended)
These properties are externally configurable and dynamically replaceable. They can be configured in a typical Java pro…… -
Servlet realizes file download function
This example shares the specific code of servlet file download for your reference. The specific contents are as follow…… -
A method of transforming a common web project developed in Java into a maven project
preface Maven is based on the project object model (project object model), a project management tool that can manage p…… -
Mybatis inserts one or batch inserts and returns instances with self growing primary key records
First of all, the version of mybatis that inserts a record and returns the primary key needs to be upgraded to 3.3 Ver…… -
Detailed explanation of log4j and AOP in spring MVC project
preface Log processing is a very important part of each project. Without logs, the controllability of the system will …… -
Spring boot integrates Shiro and uses mongodb for session storage
preface Shiro is a permission framework. You can view its official website for specific use http://shiro.apache.org/ I…… -
Quickly understand NiO core components in Java
background knowledge Synchronous, asynchronous, blocking, non blocking First of all, these concepts are very confusin…… -
On the implementation process of Java garbage collection
This tutorial is to understand basic Java garbage collection and how it works. This is the second part of the garbage …… -
Java instantiation of an abstract class object method tutorial
preface Recently, in the process of learning, I found a problem. An abstract class cannot build the object through new…… -
Spring + mybatis returns the result through @ ResponseBody and solves the Chinese garbled code
Problem occurrence: Return via @ ResponseBody result: terms of settlement: In spring MVC Configuration in XML But afte…… -
Chat room function of java socket communication
This example shares the specific code of java socket chat room function for your reference. The specific contents are …… -
Detailed explanation of factory pattern implementation method of Java design pattern
This paper describes the factory pattern implementation method of Java design pattern. Share with you for your referen…… -
Java programming implements the method of counting the occurrence times of each character in a string
This example describes the method of counting the occurrence times of each character in a string by Java programming. …… -
Detailed explanation of java socket communication based on bio
Bio, that is, blocking io. During socket based message communication, the socket server provides services to the outsi…… -
Problems and solutions of Java eclipse import project (recommended)
Today, I imported several projects through eclipse. The project name appears red cross, which is intolerable for obses…… -
Spring boot + mybatis + orcale implementation steps example code explanation
After the last implementation, add mybatis to query the orcale database Step 1: create several necessary packages. The…… -
Analysis of spring AOP implementation principle
What is AOP AOP (aspect oriented programming) can be called OOP (object-oriented programming). OOP introduces the conc…… -
Based on the read and readLine methods in the custom BufferedReader
Examples are as follows: In this way, OK can be detected Both detection methods are OK. The above article is based on …… -
Custom BufferedReader instance
The purpose of buffer establishment is to increase the transmission performance and make us transmit data faster The i…… -
Broadcast form based on UDP in Java (example explanation)
UDP --- user datagram protocol is a simple datagram oriented transport layer protocol. UDP does not provide reliabilit…… -
Bean life cycle of spring learning notes
preface In the last article, I mainly learned the configuration, injection and custom attribute editor of beans. Today…… -
Four coding skills that Java programmers must know
If you were asked to optimize your Java code now, what would you do? In this article, the author introduces four metho…… -
Jcrontab simple introduction example details
This example shares a simple introduction to jcrontab for your reference. The specific contents are as follows Create …… -
Java binary tree path and code example
Given a binary tree, find the path where the sum of all nodes in all paths is equal to the given target value. A valid…… -
Detailed explanation of switch selection statement code in Java
Syntax of switch structure (switch statement) Let's take a look at a code example with detailed comments, which you ca…… -
Using socket to realize the functions of network chat room and private chat
Use socket technology to realize the functions of network chat room and private chat. The specific contents are as fol…… -
Analysis of object class instances in Java
Q: what is the object class? Answer: the object class is stored in Java Lang package is the ultimate parent class of a…… -
Summary of pit records using spring data JPA
preface Basic introduction to spring data JPA: JPA was born to integrate the third-party ORM framework and establish a…… -
Spring security combined with JWT method tutorial
summary As we all know, the advantage of using JWT for permission verification over session is that session needs to o…… -
Java write excel operation source code sharing
These two days, I helped the teacher to build a database and import the data of all experimental transactions into the……