Session Technology (Cookie vs. session)
1, Basic concepts
Session: a session contains multiple requests and responses
One session: the browser sends a request to the server resource for the first time, and the session is established until one party disconnects (the browser or client is closed)
Function: share data between multiple requests within a session
Method:
Clien ...
Posted by jmdavis on Thu, 11 Nov 2021 16:05:44 -0800
Java learning plan 07: collections, generics
catalogue
CollectionListSetgeneric paradigmMapCollections
Collection
Collection is the top-level interface of a singleton collection. It represents a set of objects, which are also called collection elements.JDK does not any direct implementation of this interface of the question bank, but provides more specific implementation of sub interfa ...
Posted by theex on Thu, 11 Nov 2021 14:31:17 -0800
Minesweeping (including recursive expansion blank)
catalogue
preface
Code overview
Code analysis
summary
preface
It's good to write a small Minesweeper today, which is roughly the same as that used in Sanzi last time. It adopts the method of dividing documents. It's recommended to eat this one after the last one. Some of the contents repeated last time will be briefly mentioned. Today, ...
Posted by mandrews81 on Thu, 11 Nov 2021 12:43:53 -0800
Complete project learning-5
1. Mybaits plus project integration
1.1 explanation of modified cases
/**
* MP update operation
* Note: change the name of id=354 to "six eared macaque"
*/
@Test
public void updateUserById(){
User user = new User(354,"Six eared macaque",null,null);
int rows = userMapper.updateById(user);
...
Posted by rel on Thu, 11 Nov 2021 12:05:11 -0800
C language games - tic tac toe chess
When we were young, we often wandered in class and played "tic tac toe chess" - also known as "Sanzi chess" with our deskmate. Do you want to relive the happiness of childhood on vs? Let's have a look!
catalogue
Complete code
Today I want to finish a small program that is more challenging than before - Sanzi.
I bel ...
Posted by English Fire on Thu, 11 Nov 2021 11:54:13 -0800
Use of Spring Data Redis Stream
1, BackgroundThe Stream type is a new type after redis5. In this article, we use Spring boot data redis to consume the data in Redis Stream. Realize independent consumption and consumption group consumption.2, Integration steps1. Import jar package<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId& ...
Posted by awiedman on Thu, 11 Nov 2021 11:07:58 -0800
Learning notes: implementing OPT FIFO LRU LFU with JAVA
Note: the note is about the implementation of page replacement algorithm by fengsigaoju boss( (35 messages) java implements the page replacement algorithm (OPT,FIFO,LRU) _fengsigaoju's blog - CSDN blog _pagereplacement algorithm code java )Learning, invasion and deletion.
I have been learning JAVA for one month. If there are any deficiencies, ...
Posted by ruppelm on Thu, 11 Nov 2021 10:29:03 -0800
SpringIOC Source Analysis
Life cycle of bean sCircular DependencyLevel 3 Cachefactorybena and benafactoeyDifferences between appliaationcontext and beanfactoryioc container
bean - Data Structure - map - Level 3 Cache
IOC container
context.getBean() - When to call
How to create a bean - factory, reflection - configuration file (xml) in a container
Introduction t ...
Posted by Digimatt on Thu, 11 Nov 2021 09:22:37 -0800
Python review series: Python Basics
Python basics (1)
(1) Introduction to Python language
1. Overview of Python language
python is a cross-platform, open source, free, interpretive computer programming language.
2. Python Language Features
The grammar is simple, clear and easy to learn and master.
python is a cross-platform, open source, free, interpretive advanced dyna ...
Posted by jibster on Thu, 11 Nov 2021 09:21:26 -0800
1, Thread foundation of JUC (source level)
1. Java multithreading related concepts
1. Process
It is the second execution of the program and the unique unit of the system for resource allocation and scheduling. Each process has its own memory space and system resources
2. Thread
Multiple tasks can be executed in the same process. Each task can be regarded as one thread. Each p ...
Posted by dabas on Thu, 11 Nov 2021 03:03:07 -0800