Java
-
Java IO programming — character stream and byte stream
In Java The file class in the IO package is the only program processing class related to the file itself, but the file…… -
Java thread — production and consumption
/* JDK1. Version 4: producer, consumer. The problem of multiple producers and consumers. If judgment flag, only once, …… -
Java design pattern — singleton design pattern
/*Design pattern: an effective solution to the problem. In fact, it is a kind of thought. 1. Single case design mode. …… -
Java development environment configuration
Installing Java in Windows system Download JDK First, we need to download the java development kit JDK at: http://www.…… -
Java (5) annotation
@ 1、 Understanding of annotations 2、 Annotation application example 1. Example 1: generate document related annotati…… -
Java(8)I/O
1、 File class 1. File class overview 2. File class instantiation 3. Common methods of file class Public Boolean renam…… -
Java design pattern — singleton design pattern
/*Design pattern: an effective solution to the problem. In fact, it is a kind of thought. 1. Single case design mode. …… -
Java (4) enumeration class
@ 1、 Introduction to enumeration class 2、 Custom enumeration class 1. Method 1: jdk5 Custom enumeration class before…… -
Java design pattern — singleton design pattern
/*Design pattern: an effective solution to the problem. In fact, it is a kind of thought. 1. Single case design mode. …… -
Java multithreaded programming — multithreading
If you want to implement the definition of multithreading in Java, you need to have a special thread body class to def…… -
Java (2) multithreading
@ 1、 Understanding of basic concepts 1. Program, process, thread 2. Single core CPU and multiple CPUs 3. Serial, para…… -
Java (6) collection
1、 Overview of Java collection framework 1. What is a collection 2. Characteristics of sets 3. System of sets explain…… -
JavaBean
JavaBean Entity class 1. JavaBeans have specific writing methods The ORM is generally used to map fields in the databa…… -
Maven
Maven 1. Why learn Maven? 2. Maven project architecture management tool At present, we are using to import jar package…… -
Servlet
Servlet 1. Introduction to Servlet The Java program that implements the servlet interface is called servlet 2. HelloSe…… -
Java Reflect
Reflection 1. Overview of java reflection mechanism Reflection mechanism allows the program to obtain the internal inf…… -
Maven download and installation
Maven download and installation 1、 Maven concept Development process: make -- > ant -- > Maven -- > gradle f…… -
Mail sending
Mail sending 1. Principle Send mail: SMTP protocol Receiving mail: POP3 protocol Simple mail: plain text mail without …… -
POI
POI 1. Basic object 2. POI write 1. Import dependency <?xml version="1.0" encoding="UTF-8"?> <project xmlns="…… -
MVC
MVC MVC: model view controller ----- > model view controller 1. Structure of previous years When the user understan…… -
Solve the JDK version problem of maven
Add the following code to the POM file <build> <plugins> <plugin> …… -
File upload
File upload 1. File upload basis 2. Precautions 3. index. jsp <%-- Created by IntelliJ IDEA. User: Wang Date:…… -
Java based interfaces and internal classes
Interface and inner class This paper mainly sorts out the difficulties encountered by some authors in Chapter 6 of Jav…… -
Cookies and sessions
Cookies and sessions 1. Conversation Session: users open a browser, click many hyperlinks, access multiple web resourc…… -
SMBMS
SMBMS(Supermarket Billing Management System ) 1. Project structure 2. Preparation for project construction 3. Realizat…… -
-
There will always be a few wrong steps in the long way of optimization (remember an interface optimization)
Recently, I did a search interface optimization, repeated pressure testing for four times, and finally met the require…… -
JDK1. Thread pool in 8
The above code has been used all the time. I'm often asked during the interview, but I've never studied it deeply. I d…… -
Basic usage of completable future
Asynchronous computing Limitations of future interface The future interface can build asynchronous applications, but i…… -
Java export CSV file
In the past, POI was always used to export as Excel file. Later, when I learned about CSV, I found that the speed was …… -
Abstractqueuedsynchronizer source code analysis (implementation of reentrantlock lock lock)
1. Preface Abstractqueuedsynchronizer (PS: AQS for short) is used in many places in Java, such as reentrantlock and th…… -
ThreadLocal principle
1. What is ThreadLocal ThreadLocal provides thread local variables. The difference between these variables and ordinar……