Java database connection pool
1. C3P0 database connection pool
Information: link: https://pan.baidu.com/s/19jWfIQ_OlZ29pPPnxNm5og Extraction code: hgha
1.1 concept
In fact, it is a container (Collection) for storing database connections.After the system is initialized, the container is created, and some connection objects will be applied in the container. When the user a ...
Posted by cent on Sun, 05 Dec 2021 08:55:22 -0800
[Java 8] Stream and method reference
Chapter I Stream flow
1.1 INTRODUCTION
(1) Multi step traversal code of traditional collection
Almost all collections (such as Collection interface or Map interface) support direct or indirect traversal operations. When we need to operate on the elements in the Collection, in addition to the necessary addition, deletion and acquisitio ...
Posted by SteveMellor on Sun, 05 Dec 2021 08:52:08 -0800
The soul of the frame -- Reflection
preface
I've been blogging for some time. Most of the previous articles are about what to use in work and what to write. They have no purpose. Recently, I've been thinking about filling in the pits left during learning, such as java reflection and dynamic agent. I only remember when I was learning. The teacher said that this was the key point ...
Posted by daboymac on Sun, 05 Dec 2021 08:32:50 -0800
Komatsu's study and understanding of the core idea of spring
There was a wave of simulated interview at station b on Saturday. Three college students were a little disappointed
Because I think they are all back-end developers, and I'm android developers. I'm not familiar with spring and I'm afraid of making a fool of myself, so I've been mending spring knowledge all day on Saturday
As a result, no one ...
Posted by gijs on Sun, 05 Dec 2021 07:07:04 -0800
Remove Duplicates from Sorted List II
Source
Given a sorted linked list, delete all nodes that have duplicate numbers,
leaving only distinct numbers from the original list.
Example
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1->1->2->3, return 2->3.
Problem solution
The previous topic is to retain one of the duplicate value nodes. D ...
Posted by radman08 on Sun, 05 Dec 2021 07:01:31 -0800
mybatis deferred loading and caching
preface
Tip: Here you can add the general contents to be recorded in this article: For example, with the continuous development of artificial intelligence, machine learning technology is becoming more and more important. Many people have started learning machine learning. This paper introduces the basic content of machine learning.
Ti ...
Posted by bradleyy on Sun, 05 Dec 2021 06:59:59 -0800
The principle of springboot-part01
1. Principle
1.1pom.xml
Spring boot dependencies: the core dependencies are in the parent projectWhen we write or introduce some Springboot dependencies, we don't need to specify the version because there is a version repository
1.2 starter
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId> ...
Posted by richmlpdx on Sun, 05 Dec 2021 06:43:23 -0800
[crazy God says Java] detailed explanation of Spring
Crazy God video address
https://www.bilibili.com/video/BV1WE411d7Dv?p=3
1,Spring
1-1. Introduction to spring
Spring: Spring -------- -- > brings spring to the software industry!
In 2002, the prototype of Spring framework: interface21 framework was launched for the first time!
Spring framework is based on interface21 framework. ...
Posted by bob_dole on Sun, 05 Dec 2021 06:11:11 -0800
Spring mvc-part01 what is spring MVC
1,SpringMVC
SSM: mybatis + Spring + spring MVC MVC three-tier architecture
JavaSE: study hard, teachers lead, and get started quickly
JavaWeb: study hard, teachers lead, and get started quickly
SSM framework: study official documents, exercise self-study ability, exercise note taking ability and exercise project ability
SpringMVC+Vue+Sprin ...
Posted by gazolinia on Sun, 05 Dec 2021 04:44:30 -0800
Android TextView limits the maximum number of lines and displays... Full text at the end
catalogue
1, Scene
2, Implementation of scheme
1. "General" scheme
2. "Optimized" processing scheme
3. Final plan
3, Complete code
1, Scene
We know that there are usually a lot of content on the list page, and each content may be very long. If each content is displayed, the user experience is very bad. Therefore, ou ...
Posted by Seol on Sun, 05 Dec 2021 02:33:40 -0800