<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>评论：连接池中的Connection.close()应该干什么？</title>
	<link>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm</link>
	<description>解己之惑，解人之惑</description>
	<pubDate>Sat, 30 Aug 2008 02:36:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>来自：解惑 &#187; 日志 &#187; 完成轮子的第三个部分－连接池</title>
		<link>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-175</link>
		<pubDate>Mon, 25 Dec 2006 08:09:44 +0000</pubDate>
		<guid>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-175</guid>
					<description>[...] 其实也不是连接池，而且我还是不太清楚Connection的close应该干嘛，简单的实现了DataSource，并使用动态代理实现Connection的复用，Connection使用几次以后或者使用一段时间以后再真正的关闭。 [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] 其实也不是连接池，而且我还是不太清楚Connection的close应该干嘛，简单的实现了DataSource，并使用动态代理实现Connection的复用，Connection使用几次以后或者使用一段时间以后再真正的关闭。 [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>来自：wf</title>
		<link>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-164</link>
		<pubDate>Sat, 23 Dec 2006 08:47:08 +0000</pubDate>
		<guid>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-164</guid>
					<description>不解
既然做了连接池应该就是为了重用资源
如果释放了资源，还不如用jdbc直连呢
如果请求的连接数超过了连接池的容量，可以让它挂起
至于你说不释放资源会引发的问题，我就不知道了
毕竟这方便经验我还很少，呵呵</description>
		<content:encoded><![CDATA[<p>不解<br />
既然做了连接池应该就是为了重用资源<br />
如果释放了资源，还不如用jdbc直连呢<br />
如果请求的连接数超过了连接池的容量，可以让它挂起<br />
至于你说不释放资源会引发的问题，我就不知道了<br />
毕竟这方便经验我还很少，呵呵
</p>
]]></content:encoded>
				</item>
	<item>
		<title>来自：Cherami</title>
		<link>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-163</link>
		<pubDate>Sat, 23 Dec 2006 02:37:11 +0000</pubDate>
		<guid>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-163</guid>
					<description>我看过很多连接池的实现，调用close的时候会调用实际connection的close方法。当然我没有跟得那么深入，但是我想如果不close的话也可能有问题的。</description>
		<content:encoded><![CDATA[<p>我看过很多连接池的实现，调用close的时候会调用实际connection的close方法。当然我没有跟得那么深入，但是我想如果不close的话也可能有问题的。
</p>
]]></content:encoded>
				</item>
	<item>
		<title>来自：wf_chn</title>
		<link>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-161</link>
		<pubDate>Fri, 22 Dec 2006 10:58:53 +0000</pubDate>
		<guid>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-161</guid>
					<description>用连接池的话，close后，应该是并没有释放资源
只是放回到连接池中
连接池可以使connection被重用
被控制可用的connection的数量
如果内部用stack实现的，只要控制这个stack的capcity就可以了哦</description>
		<content:encoded><![CDATA[<p>用连接池的话，close后，应该是并没有释放资源<br />
只是放回到连接池中<br />
连接池可以使connection被重用<br />
被控制可用的connection的数量<br />
如果内部用stack实现的，只要控制这个stack的capcity就可以了哦
</p>
]]></content:encoded>
				</item>
	<item>
		<title>来自：wf_chn</title>
		<link>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-160</link>
		<pubDate>Fri, 22 Dec 2006 10:58:25 +0000</pubDate>
		<guid>http://www.jiehoo.com/connection-close-method-should-do-what-in-pool.htm#comment-160</guid>
					<description>用连接池的话，close后，应该是并没有释放
只是放回到连接池中
连接池可以使connection被重用
被控制可用的connection的数量
如果内部用stack实现的，只要控制这个stack的capcity就可以了哦</description>
		<content:encoded><![CDATA[<p>用连接池的话，close后，应该是并没有释放<br />
只是放回到连接池中<br />
连接池可以使connection被重用<br />
被控制可用的connection的数量<br />
如果内部用stack实现的，只要控制这个stack的capcity就可以了哦
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
