Sharding JDBC realizes the separation of reading and writing + sub database and sub table zzsh
|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 vari ...
Posted by Jack_Slocum on Wed, 03 Nov 2021 20:04:03 -0700
Principles of Spring (15) -- implementation of Spring AOP source code
@TOC #Spring collection Record every step of the program___ auth:huf
Yesterday, careful students have found a problem; In Spring 5.X or SpringBoot 2.x, the CGLIB interface is used regardless of whether the class implements the interface In Spring 5.X, Spring uses the CGLIB interface by default. In Spring 4, the JDK proxy is used, but after 5. ...
Posted by mlavwilson on Wed, 03 Nov 2021 19:51:54 -0700
Integrating Elasticsearch with Java SpringBoot
Integrating Elasticsearch with Java SpringBoot
Create a project and import dependencies into pom.xml:
<!-- SpringBoot Core package -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>Import version number< ...
Posted by powerspike on Wed, 03 Nov 2021 18:55:50 -0700
"Java tool class" EasyExcelUtil tool class excel import and export tool class Ali EasyExcel is simple and powerful, and no poi is required
Introduction
This number is mainly the sharing of common key technology points and common tool classes of Java; And technology sharing of integration frameworks such as springboot+springcloud+Mybatisplus+druid+mysql+redis+swagger+maven+docker; Technology sharing of big data processing frameworks such as datax, kafka and flink. The article will ...
Posted by daarius on Wed, 03 Nov 2021 18:30:24 -0700
Old Du Mysql's 34 homework questions
MySQL34 homework questions
1. Name of the person who gets the highest salary in each department
mysql> select e.ename,t.* from emp e join (select deptno,max(sal) as maxsal from emp group by deptno) t on t.deptno = e.deptno and t.maxsal = e.sal;
+-------+--------+---------+
| ename | deptno | maxsal |
+-------+--------+---------+
| BLAKE | ...
Posted by leena86 on Wed, 03 Nov 2021 18:07:17 -0700
[Golang] microservice implementation tool -- go kit is easy to understand
Go kit is a distributed development tool set, which can be used to build micro services in large organizations (businesses). It solves most common problems in distributed systems. Therefore, users can focus on business logic
First of all, we should understand that go kit is not a framework. It is just a tool set. It has some toolkits to help ...
Posted by savagenoob on Wed, 03 Nov 2021 15:10:58 -0700
[ActiveMQ] data persistence (introduction, persistence mechanism, KahaDB, JDBC configuration)
๐ฐ Learning video ๐ฐ
ActiveMQ tutorial (MQ messaging middleware quick start)
Number of episodes: 48-57
๐ฐ Learning maxims ๐ฐ
If you don't practice boxing, you'll end up empty; If the foundation is not strong, the earth will shake.
๐ถ Restore the default configuration file of ActiveMQ to facilitate subsequent testing
Step 1: d ...
Posted by Anthony1312002 on Wed, 03 Nov 2021 15:00:34 -0700
Spring Cloud Gateway deadly serial 10 Q?
This article introduces an important role in microservices: gateway. As for how to select a gateway, Alibaba has not yet selected a gateway. Of course, it has chosen Spring cloud Gateway. After all, it is my son.
The article contents are as follows:
Why do I need a gateway?
In the traditional monomer architecture, only one service is ope ...
Posted by DJ_CARO on Wed, 03 Nov 2021 14:50:53 -0700
Java knowledge combing 03 | detailed explanation of internal classes
1, Definition of inner class
You can put the definition of one class inside the definition of another class, which is the inner class.
2, Type of inner class
In Java, inner classes are mainly divided into member inner classes, local inner classes, anonymous inner classes and static inner classes.
1. Member internal class
Member interna ...
Posted by empnorton on Wed, 03 Nov 2021 13:38:15 -0700
Understanding java class loading mechanism
I'm going to move most of this article. Don't scold me
Reference link: Deep understanding of Java classloader Java class loading mechanism Deep understanding of Java class loading
Class class
No organization, just keep records
When a Java program runs, the system always identifies all objects by the so-called runtime type. Thi ...
Posted by GaryC on Wed, 03 Nov 2021 10:56:50 -0700