Alex_TD

Spring ----IOC

1.spring   : 对象交由Spring  创建  管理 装配

    core:  Bean  container

    aop:

         orm  he  dao:

          web:

      context:

        mvc:

2.IOC:控制反转 IOC容器(ApplicationContent) DI 依赖注入

3.XML配置模式,在XML中配置所有对象,spring通过 ClassPathXmlApplicationContent("XXX.xml") 读取类,加载实现类方法。

  熟悉XML配置bean的格式。

配置  配置 配置  ====》创建 管理  装配

为啥不用html 写配置?

 

posted on 2020-02-18 22:15  Alex_TD  阅读(61)  评论(0编辑  收藏  举报