包含标签:Java 的文章
-
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…… -
Enhanced for loop
1、 Enhanced for loop 2、 Enhanced for loop format 3、 Enhanced for loop considerations -
Java IO programming — file operation class
The Java language provides support for file operating system operation, and this support is in Java io. The file class…… -
Java basic syntax
A java program can be considered as a collection of objects that work together by calling each other's methods. The fo…… -
Java objects and classes
Java as an object-oriented language. The following basic concepts are supported: In this section, we focus on the conc…… -
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…… -
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…… -
ThreadLocal principle
1. What is ThreadLocal ThreadLocal provides thread local variables. The difference between these variables and ordinar…… -
JDK1. 8. Reading the source code of concurrenthashmap
1. Read with questions Why is concurrent HashMap thread safe? Or how does concurrent HashMap prevent concurrency? 2. F…… -
Distributed transaction
In essence, distributed transaction is to ensure the data consistency of different databases. 1. Distributed theory 1.…… -
Java generate globally unique ID code demo
I have seen two algorithm programs for generating unique IDs on GitHub (one from Baidu and the other from meituan) and…… -
Redisson basic usage
1. Redisson Redisson is the Java version of redis client officially recommended by redis. It provides many functions a…… -
Java fork / join framework
brief introduction From jdk1 At the beginning of July 7, Java provided fork / join framework for parallel execution of…… -