摘要:文件结构可以参考上一节(使用工具MyEclipse) Bean的生命周期有方法有:init-method,destroy-method ApplicationContext.xml 文件配置如下: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns
阅读全文
posted @ 2016-02-02 11:54
|
|||
随笔分类 - S.Spring
摘要:文件结构可以参考上一节(使用工具MyEclipse) Bean的生命周期有方法有:init-method,destroy-method ApplicationContext.xml 文件配置如下: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns
阅读全文
posted @ 2016-02-02 11:54
摘要:一、Spring IOC容器 Spring AllicationContext容器 程序的结构如下: 1.首先在MyEclipse 创建创建Java Project 2.创建好后,添加sping支持。在project上右击, MyEclipse->Add spring Capabilities. 3
阅读全文
posted @ 2016-02-02 11:22
|
|||