![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring学习
文章平均质量分 82
dengminhui
这个作者很懒,什么都没留下…
展开
-
spring加载配置文件
ClassPathXmlApplicationContext 这个类表示加载的xml文件都是在classpath之下;FileSystemXmlApplicationContext 则没有这种限制, 可以加载任意目录下的文件, 它的起始路径是相对于当前spring容器所在工程的根目录, 这种用法一般在测试的时候(配置文件可能存放在不同的工程中)为了加载不同工程和目录下的文件很有用. 比如你部署的x...原创 2009-05-04 13:02:09 · 60 阅读 · 0 评论 -
Spring笔记 (ZZ自YZ)
本文档适用于使用过Spring的开发者,该文章有助于他们重新梳理一下对Spring的认识。 这篇文章是本人在项目开发中使用Spring的总结,这里只是归纳了我们在开发中经常要用到的Spring的特性,Spring的其他特性或者使用起来比较复杂,或者很少有机会在实际开发中使用将不再本文中做介绍。 一、背景,为什么我们需要Spring?Martin Flower提出...原创 2009-08-06 21:53:13 · 111 阅读 · 0 评论 -
Spring中AOP简单实践
目标对象的接口:Student.java package myAop;public interface Student { public void addStudent(String stuName);} 目标类:StudentImpl.javapackage myAop;public class StudentImpl imp...原创 2009-08-27 17:26:52 · 83 阅读 · 0 评论