目录
Spring Framework 系统架构
Spring Framework 学习线路
核心概念
Ioc入门案例思路分析
具体流程如下:
1.maven配置文件
<!--1.导入spring的坐标spring-context,对应版本是5.2.10.RELEASE-->
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.2.10.RELEASE</version>
</dependency>
<!--2.配置bean-->
<!--bean标签标示配置bean
id属性标示给bean起名字
class属性表示给bean定义类型-->
<bean id="bookDao" class="com.itheima.dao.impl.BookDaoImpl"/>
<bean id="bookService" class="com.itheima.service.impl.BookServiceImpl">
2.
3.