Everyone can learn how to quickly build the Spring MVC framework (IDEA environment, Gradle construction, introduction to xml configuration file) to make the introduction to Spring simple and clear
preface
What is MVC mode
In the classic MVC mode, m refers to the business model, V refers to the user interface, and C is the controller. The purpose of using MVC is to separate the implementation codes of M and V, so that the same program can use different forms of expression—— An idea of design pattern
Spring MVC is a modu ...
Added by wendu on Mon, 27 Dec 2021 08:38:04 +0200
ArrayList collection Foundation
aggregate
Comparison of differences between sets and arrays
Set basis
Comparison of characteristics between set and array
Features of collection class: it provides a storage model with variable storage space, and the stored data capacity can be changedThe difference between a set and an array: they all have in common: they are containers fo ...
Added by pixelsoul on Mon, 27 Dec 2021 03:16:07 +0200
Text extraction (Java+Tesseract_OCR)
development environment
System: windows 11 jdk: 1.8 Framework: spring boot 2.1 4 + maven Tool: idea
Tesseract installation
Related links
Official website: https://github.com/tesseract-ocr/tesseract Official documents: https://github.com/tesseract-ocr/tessdoc Language pack address: https://github.com/tesseract-ocr/tessdata Download addr ...
Added by Xager on Sat, 25 Dec 2021 14:58:50 +0200
Java Chapter 5 object oriented programming (middle)
Object oriented inheritance II
1, Inherited benefits
1. Reduce the complexity of the code and improve the reusability of the code 2. Convenient for function expansion 3. It provides a premise for the use of polymorphism
2, Inherited format
class A extends B{ } A: Subclass, derived class, subclass B: Parent class, superclass, base class, sup ...
Added by killah on Fri, 24 Dec 2021 11:50:51 +0200
To connect to a database using JDBC
Hello, everyone. Today I'd like to share with you the steps of JDBC connecting to the database.
Steps to connect JDBC to database:
1. Load database driver
2. Get connection to database
3. Gets the execution object used to execute sql commands
4. Execute
5. Processing results
6. Recycling resources
1. Loading database driver: the higher ...
Added by snday on Mon, 20 Dec 2021 05:19:44 +0200
Java network program related to IO, NIO and Netty -- chat program in C/S mode based on TCP
1, IO TCP chat program
1. IO introduction
① Server blocking point
server.accept(); When getting sockets inputStream.read(bytes); When the input stream reads data pass
② The unified socket is a short connection and can be used as a short connection server. It cannot make a long connection. It belongs to the ask and answer mode. For exam ...
Added by FD_F on Thu, 16 Dec 2021 16:47:16 +0200
Sogou log query analysis (MapReduce+Hive+idea comprehensive experiment)
prerequisite:
Install Hadoop 2 7.3 (under Linux system)
Install MySQL (under Windows or Linux system)
Install Hive (under Linux system) reference: Hive installation configuration
Title:
Download search data from Sogou lab for analysis
The downloaded data contains 6 fields, and the data format is described as follows:
Access time user ID ...
Added by cheekychop on Sun, 12 Dec 2021 13:58:21 +0200
Develop a DDD scaffold based on IDEA Plugin
Recently, I am interested in expanding various functions in combination with the development capability of IDEA Plugin. Based on this, different cases are used to explore the IDEA Plugin plug-in development technology. I hope this systematic learning and verification summary can help more partners who need this technology.Source address: ...
Added by MattSharp on Sat, 11 Dec 2021 10:04:24 +0200
SpringBoot integration Mybatis super detailed process
In the past, there were many configuration files in the traditional ssm framework. After reading the documents for several days, I made a mess of the logical relationship of xml. At that time, I completely followed the version requirements of the demo on the Internet (jdk and tomcat), so in the end, I failed to run with various problems.
Today ...
Added by qiangxd on Tue, 07 Dec 2021 22:43:19 +0200
Rocket Message Queue installation and application (summary)
Message: information carrier Queue: data structure, first in first out
Several application mechanisms of message queuing:
1. Asynchronous communication
The communication mode of message queue is similar to that of distributed service call, but asynchronous communication ...
Added by sparrrow on Tue, 07 Dec 2021 15:54:03 +0200