java learning stage 5 (SpringIoC&DI)

0. framework 1 0.1 what is a framework? Framework is a kind of combination of toolkits We know that when I develop a function, if the function is more complex, we are likely to extract common things into tool classes, and if this tool class has many java tool classes to form a certain function, and ...

Posted by py343 on Sun, 01 Mar 2020 03:01:46 -0800

Day58 Java Web Framework phase - SSM framework exercise (user data background management, login interceptor)

SSM practice Today's source code and materials: Links: https://pan.baidu.com/s/19XDTuRre1A3JFlKhm2Aqbw Extraction code: ls63 Demand: 1. Role list display and add / delete operation 2. User list display and add / delete operation 3. Delete user and role operations 4. User login operation 5. Configure ...

Posted by chombone on Thu, 27 Feb 2020 01:37:52 -0800

The use of database transaction in Spring BootSpring Boot

Hello, welcome to the program workplace, where you need to improve technology, career planning, personal growth, sideline development and other articles. Learn and improve with more small partners. This is the twelfth article in the Spring Boot series. Understanding the previous articles will hel ...

Posted by tinkertron on Wed, 26 Feb 2020 05:15:24 -0800

8, jOOQ series tutorial - Spring Boot and jOOQ integration

Complete tutorial: https://jooq.diamondfsd.com/ In the current situation of the prevalence of micro services, the micro service system based on Spring Boot or Spring Cloud is the mainstream, and it is also the new selection direction in the current business scenario Compared with using Spring directly, using Spring Boot to integrate jOOQ is rel ...

Posted by Hagaroo on Wed, 26 Feb 2020 02:47:19 -0800

6, Bridge mode

Definition The Bridge pattern separates abstraction from implementation so that they can change independently. It is realized by using combination relation instead of inheritance relation, which reduces the coupling degree of abstraction and realization. Main points [advantages] Separation of abstra ...

Posted by Allen4172 on Mon, 24 Feb 2020 20:25:32 -0800

Auto configuration data source of Springboot2.x

DataSourceAutoConfiguration @Configuration(proxyBeanMethods = false) @ConditionalOnClass({ DataSource.class, EmbeddedDatabaseType.class }) @EnableConfigurationProperties(DataSourceProperties.class) @Import({ DataSourcePoolMetadataProvidersConfiguration.class, DataSourceInitializationConfiguration.clas ...

Posted by jrobles on Sun, 23 Feb 2020 03:04:52 -0800

Spring takes notes the next day

Spring Learning Notes 1. Implementation of AOP based on aspect annotations Step 1, Create Bean s for Objects <!-- create object --> <bean id="book" class="com.itcast.aop.Book"></bean> <bean id="myBook" class="com.itcast.aop.MyBook"></bean> Step 2: Open AOP operations ...

Posted by Smruthi on Mon, 17 Feb 2020 17:35:45 -0800

Spring annotation driven learning notes declarative transaction

Environment building 1. Import dependent Data source, database driver, spring JDBC module <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version> ...

Posted by bdbush on Sun, 16 Feb 2020 21:53:56 -0800

MyBatis is that simple

0. Introduction to MyBatis 1) MyBatis is an open source Apache project iBatis, which was migrated to Google Code by Apache Software Foundation in June 2010. As the development team moved to Google Code, iBatis 3.x was officially renamed MyBatis and the code was migrated to Github in November 2013 2) The term iBatis comes from a combination of ...

Posted by nsantos on Fri, 14 Feb 2020 10:12:52 -0800

Spring framework - Part 2

Chapter 1: Spring's IOC implementation of CRUD 1.1 - Requirements and technical requirements Requirement: realize CRUD operation of account Technology: Using spring's IoC to manage objects Using dbutils as a persistence layer solution Using c3p0 data source 1.2 - environment construction 1.2.1-Maven project import dependency <dependen ...

Posted by davinci on Thu, 13 Feb 2020 23:29:13 -0800