The core of Spring - IoC and DI

IoC, the core of Spring IoC control reverses the permission of Inverse of Control to create objects. Objects needed in Java programs are no longer created by programmers, but are created by IoC containers. IoC core idea Implement IoC in the way of Java Web 1,pom.xml <dependencies> <!-- introduce Servlet rely on --> ...

Posted by harman on Sat, 18 Sep 2021 11:06:06 +0200

SSM mybatis usage process

SSM mybatis usage process Official teaching Mybatis usage process 1. Import the coordinates of jar or mvan <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>provided</scope> </dependency> <dependency> <groupId&gt ...

Posted by RedMaster on Fri, 17 Sep 2021 12:20:37 +0200

Notes on MyBatis2

Important notes about MyBatis2 are in the following Baidu network disk connection. Welcome to learn together Link: https://pan.baidu.com/s/1zGAtbdQElMTgzUZUSg033w Extraction code: 2ywn Here are some easily forgotten points in my learning process to make another record for follow-up review Step 1: write mybatis configuration file <?xml ver ...

Posted by verlen on Tue, 07 Sep 2021 23:01:06 +0200