读书人

学习Spring 肇端篇

发布时间: 2012-08-01 17:53:40 作者: rapoo

学习Spring 开头篇
虽然框架中一直都在运用Spring框架 但是大都是在已经架构好的项目中运行
所以打算自己好好学习一遍
http://sishuok.com/forum/blogPost/list/2433.html


跟着框架学习一下

spring 加载配置文件的几种方式 与其场景

http://www.chineselinuxuniversity.net/articles/37680.shtml
http://blog.csdn.net/lwzcjd/article/details/3116759

http://sishuok.com/forum/blogPost/list/2428.html
按照 ApplicationContext context = new ClassPathXmlApplicationContext("helloworld.xml");

问题1:发现读取不到 配置文件 写了绝对路径 倒是没有问题

问题2: Spring 加载配置文件 底层是用 map 的 getvalue 的方式实现 getbean

读书人网 >软件架构设计

热点推荐