<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Allin's blog - spring </title><link>http://blog.csdn.net/leeshaoqun/category/176909.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Mon, 14 Apr 2008 14:33:08 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>leeshaoqun</dc:creator><title>在Servlet(或者Filter，或者Listener)中使用spring的IOC容器</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/09/22/1267199.aspx</link><pubDate>Fri, 22 Sep 2006 19:46:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/09/22/1267199.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/1267199.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/09/22/1267199.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/1267199.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1267199</trackback:ping><description>在servlet或者filter或者Listener中使用spring的IOC容器的方法是&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/1267199.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>Spring 系列: Spring 框架简介</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/05/10/722712.aspx</link><pubDate>Wed, 10 May 2006 21:31:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/05/10/722712.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/722712.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/05/10/722712.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/722712.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=722712</trackback:ping><description>Spring AOP 和 IOC 容器入门

在这由三部分组成的介绍 Spring 框架的系列文章的第一期中，将开始学习如何用 Spring 技术构建轻量级的、强壮的 J2EE 应用程序。developerWorks 的定期投稿人 Naveen Balani 通过介绍 Spring 框架开始了他由三部分组成的 Spring 系列，其中还将介绍 Spring 面向方面的编程（AOP）和控制反转（IOC）容器。
&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/722712.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>Spring声明性事务配置几种方式 </title><link>http://blog.csdn.net/leeshaoqun/archive/2006/05/07/712117.aspx</link><pubDate>Sun, 07 May 2006 22:59:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/05/07/712117.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/712117.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/05/07/712117.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/712117.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=712117</trackback:ping><description>       最初使用Spring是为了解决业务层的事务管理问题。原先用手写代码发起、结束/回滚事务的做法碰到粗心的开发者很容易导致连接池的资源耗尽。Spring的声明性事务管理功能无疑是一剂良方。本文说明几种常见的配置方式及各自的优缺点。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/712117.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>在Spring中集成Hibernate事务</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/04/10/658115.aspx</link><pubDate>Mon, 10 Apr 2006 22:17:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/04/10/658115.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/658115.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/04/10/658115.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/658115.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=658115</trackback:ping><description>　本文试图解释如何使用Spring来集成组件（包括组件的事务关系）。在J2EE应用程序中，连接到单个存储数据没有什么困难。但是一旦要求集成企业级组件的时候，情况就复杂了。一个组件一般会受到一个或多个存储数据的支持，因此当我们提到集成一个或多个组件的时候，我们就认为需要跨越多个组件、维护多个数据存储中的原子操作。J2EE服务器为这些组件提供了一个容器，这个容器可以管理这些事务性原子操作和跨组件的隔离。如果我们没有使用J2EE服务器，Spring可以帮助我们。Spring在集成组件服务和它们相关的事务关系的时候，是基于控制倒置（Inversion of Control）的。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/658115.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>基于mock对象和JUnit框架简化Spring Web组件单元测试</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/04/10/657994.aspx</link><pubDate>Mon, 10 Apr 2006 20:39:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/04/10/657994.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/657994.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/04/10/657994.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/657994.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=657994</trackback:ping><description>         对于Java组件开发者来说，他们都盼望拥有一组能够对组件开发提供全面测试功能的好用的单元测试。一直以来，与测试独立的Java对象相比，测试传统型J2EE Web组件是一项更为困难的任务，因为Web组件必须运行在某种服务器平台上并且它们还要与基于HTTP的Web交互细节相联系。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/657994.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--10. 任意方法的替换</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602186.aspx</link><pubDate>Sat, 18 Feb 2006 19:56:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602186.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602186.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602186.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602186.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602186</trackback:ping><description>  这篇文章来谈谈《Spring Framework 开发参考手册》的3.3.3.2小节中的“任意方法的替换”。 
 
  仔细看看文档。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602186.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--11. 自动绑定和依赖检查</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602188.aspx</link><pubDate>Sat, 18 Feb 2006 19:56:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602188.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602188.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602188.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602188.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602188</trackback:ping><description>   这篇文章来谈谈《Spring Framework 开发参考手册》的3.3.5小节中的“自动装配协作对象”和3.3.6 小节中的“依赖检查”。 
 
  仔细看看文档，相关配置见前面文章。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602188.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--9. Lookup方法注入</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602185.aspx</link><pubDate>Sat, 18 Feb 2006 19:55:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602185.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602185.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602185.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602185.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602185</trackback:ping><description>  这篇文章来谈谈《Spring Framework 开发参考手册》的3.3.3.1小节中的Lookup方法注入。
 
  仔细看看文档，这种方法主要是用在Singleton的Object中使用非Singleton的Bean时，通过lookup-method的那个方法来取得非Singleton的Bean。一般用的不多，在用这种定义之前最好想明白你的需求。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602185.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--8. 集合对象注入</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602183.aspx</link><pubDate>Sat, 18 Feb 2006 19:54:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602183.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602183.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602183.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602183.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602183</trackback:ping><description>   这篇文章来谈谈《Spring Framework 开发参考手册》的3.3.2小节中的集合对象注入。 
 
   在项目开发中，还是经常会用到集合对象注入的，不过感觉没有多少需要介绍的，这次就只给出实例了。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602183.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--7. ref的用法</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602180.aspx</link><pubDate>Sat, 18 Feb 2006 19:53:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602180.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602180.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602180.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602180.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602180</trackback:ping><description>这篇文章来谈谈《Spring Framework 开发参考手册》的3.3.2小节中的ref的用法。
 
  ref元素是用在property中，来设置需要引用的容器管理的其它Bean。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602180.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--5.Bean的标志符（id与name）</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602176.aspx</link><pubDate>Sat, 18 Feb 2006 19:52:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602176.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602176.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602176.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602176.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602176</trackback:ping><description>  又重新学习了Spring，想把自己的心得写下来，感觉有些无从下手。想来想去，还是根据Spring中文论坛翻译的《Spring Framework 开发参考手册》（1.1版本的中文版，pdf格式），来组织自己的思路。在这个阶段，我发布的关于Spring的文章，基本上都是入门级别的。相对而言，对于新手的帮助应该会更大。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602176.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--6. Singleton的使用与否</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602178.aspx</link><pubDate>Sat, 18 Feb 2006 19:52:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602178.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602178.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602178.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602178.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602178</trackback:ping><description>   上篇文章已经谈了《Spring Framework 开发参考手册》的3.2.4小节——《Bean的标志符（id与name）》，现在继续3.2.5小节——《Singleton的使用与否》。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602178.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--4.安装和使用SpringIDE</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602175.aspx</link><pubDate>Sat, 18 Feb 2006 19:51:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602175.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602175.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602175.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602175.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602175</trackback:ping><description>  这篇文章谈谈如何安装与使用SpringIDE。作为辅助Spring开发的工具，SpringIDE还是比较有用的。&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602175.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring--3. 加载Bean的配置文件</title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602172.aspx</link><pubDate>Sat, 18 Feb 2006 19:50:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602172.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602172.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602172.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602172.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602172</trackback:ping><description>1. 创建项目
 
· 新建一个Java Project：SpringBeanFile，注意要导入用户库Spring。
 
· 这是完成后整个项目的结构（预览一下）：&lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602172.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>leeshaoqun</dc:creator><title>快速上手Spring－－2.HelloWorld(2) </title><link>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602171.aspx</link><pubDate>Sat, 18 Feb 2006 19:49:00 GMT</pubDate><guid>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602171.aspx</guid><wfw:comment>http://blog.csdn.net/leeshaoqun/comments/602171.aspx</wfw:comment><comments>http://blog.csdn.net/leeshaoqun/archive/2006/02/18/602171.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leeshaoqun/comments/commentRss/602171.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=602171</trackback:ping><description>这是第二部分。
3. 采用“工厂模式”
 
· 新建一个包，包名：javamxj.spring.beginning2,在这个包下，新建一个“Hello”接口，这个接口含有一个方法。  &lt;img src ="http://blog.csdn.net/leeshaoqun/aggbug/602171.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>