Spring07 - integrate Mybatis
Review MyBatis
1. Import the dependencies required by MyBatis in Maven
<dependencies>
<!--Mysql drive-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.22</version>
</dependency>
<!--MyBatis- ...
Added by fgm on Tue, 25 Jan 2022 11:58:14 +0200
SpringIOC and SpringAOP (combination of examples and knowledge points)
What are spring IOC and spring AOP?
IoC (inversion of control) and AOP (aspect oriented) are the two cores of the Spring framework. Java Spring framework can flexibly manage transactions in a declarative way to improve development efficiency and quality.
IoC control reversal
Ioc Inversion of Control is not a technology, but a design idea ...
Added by paddyhaig on Tue, 25 Jan 2022 07:57:54 +0200
Figure database (record a eno4j build and share)
1.Neo4j is a high-performance NOSQL graphical database written in Java and Scala
Download address of neo4j official website: https://neo4j.com/download-center/#enterprise Neo4j Chinese community: http://neo4j.com.cn/
advantage:
Fast query speed: when the relational database stores a large amount of data and there are many associated tables, ...
Added by ajcrm125 on Tue, 25 Jan 2022 07:31:28 +0200
Spring cloud: Eureka service registration and discovery
I. Introduction to Eureka
According to the official introduction:
Eureka is a REST (Representational State Transfer) based service that is primarily used in the AWS cloud for locating services for the purpose of load balancing and failover of middle-tier servers.
Eureka Is based on REST Services, mainly in AWS Use in the cloud, Location serv ...
Added by vahidi on Tue, 25 Jan 2022 07:27:19 +0200
SpringBoot - integrate Dubbo+Zookeeper
When integrating dubbo and zookeeper, I encountered all kinds of messy errors. Share it
version control
SpringBoot2.5.2
1, Add dependency and log configuration
1. Rely on
<!--zookeeper client-->
<dependency>
<groupId>com.github.sgroschupf</groupId>
<artifactId>zkclient</artifactId>
...
Added by NoPHPPhD on Tue, 25 Jan 2022 05:48:17 +0200
Section of spring, use of AOP
catalogue
Reasons for using AOP (Introduction to AOP)
Use of AOP
Enable AOP support
Writing facet classes and test methods
Write slice method
@Before
@After
@AfterThrowing
@AfterReturning
@Around
Reasons for using AOP (Introduction to AOP)
We know that spring has two cores, IOC (inversion of contro ...
Added by homer.favenir on Tue, 25 Jan 2022 04:22:10 +0200
Spring Learning Notes - Auto-assemble Bean
Spring Learning Notes - Auto-assemble Bean
Auto-assembly is one way Spring meets bean dependencies Spring automatically finds and assembles properties for bean s in the context
There are three ways to assemble in Spring
Explicit Configuration in xmlExplicit Configuration in JavaImplicit automatic assembly of bean s
ByName
Auto-assemble ...
Added by cello on Mon, 24 Jan 2022 23:01:39 +0200
SpringSecurity + custom login interface + JwtToken + interceptor + front and back end separation
1: Project background: after fishing, I'm going to write a project to consolidate myself. There are some cd problems in the process of code project. You may have encountered them. Share my summary again. I want to use spring cloud + vue to write a front and back-end separated project. Because I haven't learned vue yet, hahaha, hahaha, so I make ...
Added by bashaash on Mon, 24 Jan 2022 22:30:42 +0200
Explanation of Spring's circular reference source code
Next, let's fully analyze the circular reference of Spring today
What is circular reference? I don't need to force it. Go directly to the code and debug and analyze the source code in the whole process
@Configuration
@ComponentScan({"com.carry"})
public class Appconfig {
}
@Component
public class X {
@Autowired
private Y y;
public X() ...
Added by ron8000 on Mon, 24 Jan 2022 09:48:18 +0200
Introduction to Spring [personal notes]
I Spring concept
Spring is a lightweight J2EE framework, which can solve the complexity of enterprise application development.
Spring has two core parts, IOC and AOP.
(1) IOC: control reversal. Leave the process of creating objects to Spring for management.
(2) AOP: facet oriented. Function enhancement without modifying the source code.
Sp ...
Added by chieffan on Mon, 24 Jan 2022 05:01:32 +0200