Spring source code analysis -- SpringIOC
start
In Spring, there are two configuration methods, one is xml version and the other is annotation version. They correspond to different ApplicationContext. The xml version is ClassPathXmlApplicationContext, while the annotation version is AnnotationConfigApplicationContext.
// Start an ApplicationCo ...
Posted by aksival on Sun, 22 May 2022 12:19:47 +0300
List three common sets
ArrayList (key)
ArrayList is a typical implementation class and main implementation class of the List interface. In essence, ArrayList is a "variable length" array of object references.
summary
ArrayList class is an array that can be dynamically modified. The difference from ordinary arrays is that it has no f ...
Posted by techcone on Sun, 22 May 2022 10:18:32 +0300
Stage I: JavaSE learning 07
1. Comparison of object-oriented and process oriented ideas:
* * process oriented: * * is a process centered programming idea. Each step of realizing the function is realized by yourself
* * object oriented: * * is an object-centered programming idea, which realizes specific functions by commanding objects
Relationsh ...
Posted by barteelamar on Sun, 22 May 2022 09:05:50 +0300
Basic usage of blocking queue:
Common blocking queues are ArrBlockingQueue and LinkedBlockQueue
Here is their inheritance structure:
ArrayBlockingQueue: The bottom layer is an array, bounded
LinkedBlockingQueue: The bottom layer is a linked list, unbounded. But not really unbounded, the maximum is the maximum value of int
From the inheri ...
Posted by Dasndan on Sun, 22 May 2022 07:20:18 +0300
connection pool
(database connection pool)
Closing the link every time you link to the database is rather cumbersome and wastes time and resources. Now we can get the database link through the connection pool, and put it back after use up, which can save the time and operation of constantly creating and closing the connection, which is more eff ...
Posted by beckjo1 on Sun, 22 May 2022 06:26:33 +0300
Idempotent problem
Definition of idempotency in Http/1.1: one and multiple requests for a resource should have the same result for the resource itself (except for problems such as network timeout). In other words, any number of executions will have the same impact on the resource itself as one execution
Under what circumstances is idempotent ...
Posted by aspekt9 on Sun, 22 May 2022 05:04:51 +0300
Apache POI Word(docx) getting started sample tutorial
1. Document XWPFDocument
XWPFDocument is right docx is a high-level encapsulation API for document operation.
1.1. create a new document
XWPFDocument doc = new XWPFDocument();
1.2. Read existing documents: paragraphs, tables, pictures
XWPFDocument doc = new XWPFDocument(new FileInp ...
Posted by EagerWolf on Sun, 22 May 2022 04:50:03 +0300
decorative pattern
Also known as: decorator pattern, decorator pattern, Wrapper, Decorator
intention
The "Decorator Pattern" is a structural design pattern that allows you to bind new behavior to an original object by placing the object in a special wrapper object that contains the behavior.
decorative design pattern
question
...
Posted by Rayne on Sun, 22 May 2022 04:08:07 +0300
Follow the wechat official account: CodingTechWork to learn and make progress together.
introduction
It's easier to remember the usage of this operator than the one we don't see in the following code.
introduce
concept
XOR is also called semi addition, binary addition without carry. We know that in binary, 1 means true and 0 means fal ...
Posted by kcarroll on Sun, 22 May 2022 02:20:39 +0300
Get the source code at the end
Development language: Java
Development tool: IDEA/ Eclipse
Database: mysql5 seven
Application service: Tomcat7/Tomcat8
use framessm+vue
JDK version: jdk1.0 eight
Preface introduction
System management will also carry out overall intelligent operation through computers. There are many management and ...
Posted by Daveyz83 on Sun, 22 May 2022 02:18:24 +0300