Sharding JDBC realizes read-write separation + sub database and sub table. It's written very well
1. Overview
Shardingsphere Jdbc is positioned as a lightweight Java framework and provides additional services in the Jdbc layer of Java. It uses the client to connect directly to the database and provides services in the form of jar package. It can be understood as an enhanced version of Jdbc driver, which is fully compatible with Jdbc and va ...
Posted by kardiostep on Wed, 10 Nov 2021 00:46:07 -0800
Python and Java crawl personal blog information and export it to Excel
1, Scene analysisToday, let's climb my personal blog and summarize my article title and address into an Excel for easy viewing.What bad thoughts can wshanshi have? She just... Wants to summarize her article and related address2, Simple interface analysis:Development all know, open debugging mode. Select Elements, and then find the box where the ...
Posted by abbe-rocks on Wed, 10 Nov 2021 00:41:29 -0800
Deep analysis of core components in Netty based on a large number of images and instances
This article mainly analyzes the core components in Netty in detail.Initiator Bootstrap and ServerBootstrap, as the intersection of Netty's client and server, are the first step in writing Netty's network program. It allows us to assemble the core components of Netty like building blocks. In the process of building Netty Server, we need to pay ...
Posted by stvs on Wed, 10 Nov 2021 00:37:21 -0800
Mysql DQL language, group by, order by, join, union
Introduction concept
DB: databaseDBMS: Database Management SystemSQL: Structured Query Languagedatabasedata sheetfield
After mysql is successfully installed, common commands:
mysql [-h host ip -p port] - u user name - p enter enter password to log inshwo databases; Display all databases after successful loginuse database name; Open data ...
Posted by richo89 on Wed, 10 Nov 2021 00:30:09 -0800
Thoroughly explain the details of the simple factory that you haven't paid attention to
This article is excerpted from "design patterns should be learned this way"1 encapsulate product creation details using simple factory modeNext, let's look at the code and take the creation of an online course as an example. Assuming that there are courses such as Java architecture, big data and artificial intelligence, an ecosystem h ...
Posted by SieRobin on Tue, 09 Nov 2021 23:08:46 -0800
java reflection thought
preface
There is a very important content in Java, the idea of java reflection. Learning java reflection well is very important for our subsequent development and understanding other people's code. Therefore, it is most important to lay a good foundation for reflection.
catalogue
1, What is the reflection mechan ...
Posted by arya6000 on Tue, 09 Nov 2021 20:02:05 -0800
Java multithreading learning notes
Detailed explanation of multithreading (Java.Thread)
Thread introduction
Multitasking multithreading Common method calls and multithreading Process: it is an execution process of program execution. It is a dynamic concept and the unit of system resource allocation Thread thread: usually, a process can contain several threads, and each pro ...
Posted by nemxu on Tue, 09 Nov 2021 17:51:49 -0800
Java: P1093 [NOIP2007 popularization group] scholarship
Luogu topic: P1093 [NOIP2007 popularization group] scholarship
Title Description
A primary school has recently received a sponsorship and plans to give part of it to the top five students with excellent academic achievements. At the end of the term, each student has three grades: Chinese, mathematics and English. First, sort according to the ...
Posted by miles_rich on Tue, 09 Nov 2021 17:15:22 -0800
Use Java to simulate how consumers consume messages in rabbitMQ message queue
Use Java to simulate how consumers consume messages in rabbitMQ message queue
introduce
General summary: the producer produces a message and stores it in the message queue in rabbitmq, and then the consumer takes the message out of the message queue.
In this part of this tutorial, we will write two programs in Java. The producer who send ...
Posted by ashii on Tue, 09 Nov 2021 15:11:05 -0800
java Dynamic Proxy
proxy pattern Proxy mode is one of 23 design modes. It refers to A mode in which an object A can have the same behavior as B by holding another object B. In order to open the protocol to the outside world, B often implements an interface, and A will also implement the interface. However, B is A "real" implementation class, while A is ...
Posted by Stoneguard on Tue, 09 Nov 2021 14:21:14 -0800