Database connection JDBC
1. Succinct
JDBC (Java DataBase Connectivity) is a Java API for executing SQL statements. It can provide unified access to a variety of relational databases. It is composed of a group of classes and interfaces written in Java language. JDBC provides a benchmark by which more advanced tools and interfaces can be built to enable database develop ...
Posted by wudiemperor on Mon, 07 Mar 2022 04:03:21 +0100
Design mode self study notes 003_Real (decorator design mode, adapter design mode)
Design mode self study notes 003_Real (decorator design mode, adapter design mode)
1, Decorator design mode
In the previous proxy design pattern, we expanded the methods in the class. Now, a class in Wu needs to add new functions, that is, it needs to add new methods to realize new functions. The first way is to create another class to inheri ...
Posted by keeve on Mon, 07 Mar 2022 04:00:08 +0100
High force SQL writing: line to line comparison
Environmental preparationDatabase version: MySQL 5.7.20-logCreate table SQLDROP TABLE IF EXISTS `t_ware_sale_statistics`;
CREATE TABLE `t_ware_sale_statistics` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Primary key id',
`business_id` bigint(20) NOT NULL COMMENT 'Business organization code',
`ware_inside_code` bigint(20) NOT NULL C ...
Posted by vcv on Mon, 07 Mar 2022 03:09:41 +0100
Learning notes of Request (belonging to Servlet learning course)
When the browser accesses the server, it will encapsulate the parameter data, protocol version and request header information submitted by the user into a request message (i.e. request packet) and send it to the server.
The Request message received by the server (such as Tomcat) will be encapsulated in the Request object. Programmers can ge ...
Posted by crimsonmoon on Mon, 07 Mar 2022 03:05:30 +0100
You may not know enough about spring beans
Define spring beans
Bean definition in the corresponding code is the configuration meta information interface of beans defined in the Spring Framework, mainly including:
Bean's class name, fully qualified name, concrete implementation classBean configuration meta information: scope, Auto Wiring, lifecycle callbackBean References: Collaborator ...
Posted by buddhika2010 on Mon, 07 Mar 2022 01:53:27 +0100
Teach you to make a music player in 10 minutes
I Don't talk too much, let's see the effect first:
Video station B effect demonstration address~
(no big guys, no big guys, no big guys) this is a single page music player. It only uses html+css and very basic vue syntax, so it is suitable for beginners. Take a look for 10 minutes~
This idea is based on the dark horse~
II Detailed productio ...
Posted by evanluke on Mon, 07 Mar 2022 01:31:32 +0100
In those years, we learned the common notes of mybatis plus (12)
👏 About the author: Hello, I'm cabbage ~ ~, a sophomore in school, and a new star creator in the Java field.📝 Personal homepage: Cabbage CSDN blog📧 If there are mistakes in the knowledge points of the article, please correct them! Learn and make progress with you 👀🔥 If you feel the blogger's article is good, please 👍 Three company support ...
Posted by eyaly on Sun, 06 Mar 2022 22:22:30 +0100
[JAVA Chengxian road] Yuanying chapter - arrays hidden in the game
🔎 This is JAVA Chengxian road. Pay attention to my learning JAVA and don't get lost 👍 If it helps you, give the blogger a free praise to show encouragement Welcome 🔎 give the thumbs-up 👍 Comment collection ⭐ ️
Array and two-dimensional array feel that it should be easier to understand by taking the equipment column of King glory as an exa ...
Posted by graziano on Sun, 06 Mar 2022 21:15:01 +0100
Netty source code analysis 6:NioEventLoop
Basic introduction to NioEventLoop
When building the Netty service, you first need to create a NioEventLoopGroup, that is, the following code:
···
NioEventLoopGroup boss = new NioEventLoopGroup(1);
NioEventLoopGroup worker = new NioEventLoopGroup();
···
Initialization timing: NioEventLoopGroup defines an EventExecutor[] children member vari ...
Posted by donbre on Sun, 06 Mar 2022 19:36:53 +0100
Java Common Collection Source Analysis 1:List
Classification of sets
First, let's look at the overall classification of sets. Both Collection and Set Chinese can be translated into collections. However, from a Java programming perspective, Collections should be translated into containers and Sets into collections. Both Collection and Set Chinese can be translated into collections. However ...
Posted by sstangle73 on Sun, 06 Mar 2022 18:56:27 +0100