<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>yybean.com Java编程 Web开发 Ajax技术 Spring框架 Struts2框架 Hibernate技术 在线文档 &#187; 框架整合</title>
	<atom:link href="http://www.yybean.com/category/framework-combine/feed" rel="self" type="application/rss+xml" />
	<link>http://www.yybean.com</link>
	<description>一个java web精品小站...</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:11:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Proxool 的HouseKeeper NullPointerException</title>
		<link>http://www.yybean.com/proxool-of-housekeeper-nullpointerexception</link>
		<comments>http://www.yybean.com/proxool-of-housekeeper-nullpointerexception#comments</comments>
		<pubDate>Thu, 10 Jun 2010 15:00:20 +0000</pubDate>
		<dc:creator>yybean</dc:creator>
				<category><![CDATA[开源]]></category>
		<category><![CDATA[框架整合]]></category>
		<category><![CDATA[HouseKeeper NullPointerException]]></category>
		<category><![CDATA[proxool]]></category>
		<category><![CDATA[proxool spring]]></category>
		<category><![CDATA[proxool 配置]]></category>

		<guid isPermaLink="false">http://www.yybean.com/proxool-of-housekeeper-nullpointerexception</guid>
		<description><![CDATA[使用Proxool连接池， 当在重启Tomcat容器时，出现    &#160;&#160; Exception in Thread &#34;HouseKeeper&#34; java.lang.NullPointerException     空指针异常错误。     原因是：

This is because Proxool is not being shutdown properly. If the JVM stops then Proxool recognises that and shuts down gracefully, but if you redeploy Proxool into some environments (for example, a servlet container) then Proxool needs to be explicitly told so by calling ProxoolFacade.shutdown(). If you have a servlet container then you could put it in the servlet&#8217;s destroy() method. Alternatively, use the ServletConfigurator to both configure and shutdown Proxool 

<span class="readmore"><a href="http://www.yybean.com/proxool-of-housekeeper-nullpointerexception" title="Proxool 的HouseKeeper NullPointerException">阅读全文——共1403字</a></span>]]></description>
		<wfw:commentRss>http://www.yybean.com/proxool-of-housekeeper-nullpointerexception/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用spring-modules-0.9实现注解缓存</title>
		<link>http://www.yybean.com/using-spring-modules-0-9-to-achieve-annotation-cache</link>
		<comments>http://www.yybean.com/using-spring-modules-0-9-to-achieve-annotation-cache#comments</comments>
		<pubDate>Fri, 21 May 2010 03:16:06 +0000</pubDate>
		<dc:creator>yybean</dc:creator>
				<category><![CDATA[Spring]]></category>
		<category><![CDATA[框架整合]]></category>
		<category><![CDATA[缓存]]></category>
		<category><![CDATA[springmodules]]></category>
		<category><![CDATA[注解]]></category>
		<category><![CDATA[注解驱动]]></category>

		<guid isPermaLink="false">http://www.yybean.com/using-spring-modules-0-9-to-achieve-annotation-cache</guid>
		<description><![CDATA[&#160; 

关于spring实现ehcache有很多方法，很多都是利用aop来实现，我认为采用注解的方式更灵活，配置也更简洁。下面就是我利用spring-modules-0.9实现的注解缓存。 

配置文件如下：

<span class="readmore"><a href="http://www.yybean.com/using-spring-modules-0-9-to-achieve-annotation-cache" title="使用spring-modules-0.9实现注解缓存">阅读全文——共1779字</a></span>]]></description>
		<wfw:commentRss>http://www.yybean.com/using-spring-modules-0-9-to-achieve-annotation-cache/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>基于springmodules的缓存方案</title>
		<link>http://www.yybean.com/caching-scheme-based-on-springmodules</link>
		<comments>http://www.yybean.com/caching-scheme-based-on-springmodules#comments</comments>
		<pubDate>Fri, 21 May 2010 03:15:19 +0000</pubDate>
		<dc:creator>yybean</dc:creator>
				<category><![CDATA[Spring]]></category>
		<category><![CDATA[框架整合]]></category>
		<category><![CDATA[缓存]]></category>
		<category><![CDATA[springmodules]]></category>
		<category><![CDATA[方案]]></category>
		<category><![CDATA[注解]]></category>

		<guid isPermaLink="false">http://www.yybean.com/caching-scheme-based-on-springmodules</guid>
		<description><![CDATA[简介&#160;&#160;&#160;&#160; 

&#160;&#160;&#160;&#160;&#160; 通常在系统开发中，必不可少的要使用到缓存(Cache)，如用户信息、字典信息都会使用缓存来提高性能；但是如何使用好缓存是个需要深入研究的话题，缓存方案没有通用性，针对不同的应用层面，缓存的设计通常也是千差万别的！这里只是介绍了一种比较轻量级、无侵入的缓存方案，该方案基于Spring+SpringModules。 

目的

<span class="readmore"><a href="http://www.yybean.com/caching-scheme-based-on-springmodules" title="基于springmodules的缓存方案">阅读全文——共3469字</a></span>]]></description>
		<wfw:commentRss>http://www.yybean.com/caching-scheme-based-on-springmodules/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenSessionInViewFilter作用及配置</title>
		<link>http://www.yybean.com/opensessioninviewfilter-role-and-configuration</link>
		<comments>http://www.yybean.com/opensessioninviewfilter-role-and-configuration#comments</comments>
		<pubDate>Fri, 21 May 2010 03:09:38 +0000</pubDate>
		<dc:creator>yybean</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[框架整合]]></category>
		<category><![CDATA[opensessioninviewfilter]]></category>
		<category><![CDATA[opensessioninviewfilter作用]]></category>
		<category><![CDATA[Write operations are not allowed in read-only mode]]></category>

		<guid isPermaLink="false">http://www.yybean.com/opensessioninviewfilter-role-and-configuration</guid>
		<description><![CDATA[一、作用

Spring为我们解决Hibernate的Session的关闭与开启问题。    Hibernate 允许对关联对象、属性进行延迟加载，但是必须保证延迟加载的操作限于同一个 Hibernate Session 范围之内进行。如果 Service 层返回一个启用了延迟加载功能的领域对象给 Web 层，当 Web 层访问到那些需要延迟加载的数据时，由于加载领域对象的 Hibernate Session 已经关闭，这些导致延迟加载数据的访问异常 

(eg： org.hibernate.LazyInitializationException:(LazyInitializationException.java:42)      - failed to lazily initialize a collection of role: cn.easyjava.bean.product.ProductType.childtypes, no session or session was closed       org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: cn.easyjava.bean.product.ProductType.childtypes, no session or session was closed)

<span class="readmore"><a href="http://www.yybean.com/opensessioninviewfilter-role-and-configuration" title="OpenSessionInViewFilter作用及配置">阅读全文——共6297字</a></span>]]></description>
		<wfw:commentRss>http://www.yybean.com/opensessioninviewfilter-role-and-configuration/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSH整合常见错误</title>
		<link>http://www.yybean.com/ssh-integration-of-common-errors</link>
		<comments>http://www.yybean.com/ssh-integration-of-common-errors#comments</comments>
		<pubDate>Fri, 21 May 2010 03:08:40 +0000</pubDate>
		<dc:creator>yybean</dc:creator>
				<category><![CDATA[框架整合]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSH整合]]></category>
		<category><![CDATA[ssh整合开发]]></category>
		<category><![CDATA[SSH整合问题]]></category>

		<guid isPermaLink="false">http://www.yybean.com/ssh-integration-of-common-errors</guid>
		<description><![CDATA[1.    org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save():     原因：&#60;id&#62;元素配置不正确，&#60;id&#62;元素缺少其子元素&#60;generator&#62;&#60;/generator&#62;的配置。解决方法：&#60;id&#62;元素映射了相应数据库表的主键字段，对其子元素&#60;generator class=&#34;&#34;&#62;,其中class的取值可以为increment、identity、sequence、hilo、native&#8230;&#8230;等，一般取其值为native 。     

<span class="readmore"><a href="http://www.yybean.com/ssh-integration-of-common-errors" title="SSH整合常见错误">阅读全文——共4600字</a></span>]]></description>
		<wfw:commentRss>http://www.yybean.com/ssh-integration-of-common-errors/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring Hibernate整合要点之JPA</title>
		<link>http://www.yybean.com/spring-hibernate-integration-of-the-main-points-of-the-jpa</link>
		<comments>http://www.yybean.com/spring-hibernate-integration-of-the-main-points-of-the-jpa#comments</comments>
		<pubDate>Fri, 21 May 2010 03:07:40 +0000</pubDate>
		<dc:creator>yybean</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[框架整合]]></category>
		<category><![CDATA[hibernate jpa教程]]></category>
		<category><![CDATA[hibernate jpa配置]]></category>
		<category><![CDATA[jpa hibernate]]></category>
		<category><![CDATA[spring hibernate]]></category>
		<category><![CDATA[SSH整合]]></category>

		<guid isPermaLink="false">http://www.yybean.com/spring-hibernate-integration-of-the-main-points-of-the-jpa</guid>
		<description><![CDATA[一、依赖包





<span class="readmore"><a href="http://www.yybean.com/spring-hibernate-integration-of-the-main-points-of-the-jpa" title="Spring Hibernate整合要点之JPA">阅读全文——共5759字</a></span>]]></description>
		<wfw:commentRss>http://www.yybean.com/spring-hibernate-integration-of-the-main-points-of-the-jpa/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>整合Struts2与Spring</title>
		<link>http://www.yybean.com/struts2-and-spring-integration</link>
		<comments>http://www.yybean.com/struts2-and-spring-integration#comments</comments>
		<pubDate>Fri, 21 May 2010 03:04:32 +0000</pubDate>
		<dc:creator>yybean</dc:creator>
				<category><![CDATA[Spring]]></category>
		<category><![CDATA[Struts]]></category>
		<category><![CDATA[框架整合]]></category>
		<category><![CDATA[struts2 spring整合]]></category>
		<category><![CDATA[struts2 spring结合]]></category>
		<category><![CDATA[struts2 spring配置]]></category>
		<category><![CDATA[struts2 spring集成]]></category>

		<guid isPermaLink="false">http://www.yybean.com/struts2-and-spring-integration</guid>
		<description><![CDATA[一、增加所需的jar包

需要的JAR文件为：Spring和Struts2框架本身需要的JAR文件以及他们所依赖的JAR文件，比如commons-logging.jar等等，另外还需要Struts2发布包中的struts2-spring-plugin-x.xx.jar。



<span class="readmore"><a href="http://www.yybean.com/struts2-and-spring-integration" title="整合Struts2与Spring">阅读全文——共2553字</a></span>]]></description>
		<wfw:commentRss>http://www.yybean.com/struts2-and-spring-integration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

