Spring is a Java open source framework created to solve the complexity of enterprise application development and is widely used. One of the "S"s in the very popular SSH architecture in the industry refers to Spring. Spring is committed to solutions for all layers of J2EE applications, rather than just focusing on a certain layer of solutions. It can be said that Spring is the "one-stop" choice for enterprise application development, and runs through the presentation layer, business layer and persistence layer.
Course playback address: http://www.php.cn/course/512.html
The teacher’s teaching style:
The teacher’s lectures are vivid, witty, witty, and touching. A vivid metaphor is like the finishing touch, opening the door to wisdom for students; a well-placed humor brings a knowing smile to students, like drinking a glass of mellow wine, giving people aftertaste and nostalgia; a philosopher's aphorisms, cultural references Proverbs are interspersed from time to time in the narration, giving people thinking and alertness.
The more difficult point in this video is spring integrating mybatis:
First, we need to download the Mybatis-Spring jar package from the Mybatis official website and add it to our Under the class path of the project, of course, you also need to add the related jar packages of Mybatis and the related jar packages of Spring. We know that all operations in Mybatis are based on a SqlSession, and SqlSession is generated by SqlSessionFactory, and SqlSessionFactory is generated by SqlSessionFactoryBuilder. But Mybatis-Spring is based on SqlSessionFactoryBean. When using Mybatis-Spring, we also need SqlSession, and this SqlSession is embedded in the program and generally does not require us to access it directly. SqlSession is also generated by SqlSessionFactory, but Mybatis-Spring encapsulates a SqlSessionFactoryBean for us. In this bean, we still use SqlSessionFactoryBuilder to establish the corresponding SqlSessionFactory, and then obtain the corresponding SqlSession. Through SqlSessionFactoryBean we can provide some configuration information of Mybatis by specifying some properties on it. So next we need to define a SqlSessionFactoryBean in Spring's applicationContext configuration file.
Here we also recommend downloading source code resources: http://www.php.cn/xiazai/learn/1943
This courseware shares the video with everyone:
1. Horse Soldier Spring-Video Notes.doc
The above is the detailed content of Ma Soldier spring video data analysis (courseware, source code). For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Notepad++7.3.1
Easy-to-use and free code editor

WebStorm Mac version
Useful JavaScript development tools

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)