<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Easy Java Bean toString() using BeanUtils</title>
	<atom:link href="http://www.benmccann.com/dev-blog/easy-java-bean-tostring-using-beanutils/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benmccann.com/dev-blog/easy-java-bean-tostring-using-beanutils/</link>
	<description>The software development weblog of Benjamin McCann.</description>
	<lastBuildDate>Mon, 06 Feb 2012 21:26:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rick</title>
		<link>http://www.benmccann.com/dev-blog/easy-java-bean-tostring-using-beanutils/comment-page-1/#comment-15850</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Mon, 19 Oct 2009 17:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=32#comment-15850</guid>
		<description>While I enjoyed this tip and implemented it originally, I came across a potential (but very likely) bug with using your original suggestion as it often causes a stackoverflow exception.  Paul&#039;s suggestion seems to be better suited.  See http://commons.apache.org/beanutils/api/org/apache/commons/beanutils/BeanUtilsBean.html#describe%28java.lang.Object%29</description>
		<content:encoded><![CDATA[<p>While I enjoyed this tip and implemented it originally, I came across a potential (but very likely) bug with using your original suggestion as it often causes a stackoverflow exception.  Paul&#8217;s suggestion seems to be better suited.  See <a href="http://commons.apache.org/beanutils/api/org/apache/commons/beanutils/BeanUtilsBean.html#describe%28java.lang.Object%29" rel="nofollow">http://commons.apache.org/beanutils/api/org/apache/commons/beanutils/BeanUtilsBean.html#describe%28java.lang.Object%29</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivana</title>
		<link>http://www.benmccann.com/dev-blog/easy-java-bean-tostring-using-beanutils/comment-page-1/#comment-15315</link>
		<dc:creator>Ivana</dc:creator>
		<pubDate>Mon, 05 Oct 2009 20:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=32#comment-15315</guid>
		<description>Very neat solution Paul, thank you!</description>
		<content:encoded><![CDATA[<p>Very neat solution Paul, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Wilton</title>
		<link>http://www.benmccann.com/dev-blog/easy-java-bean-tostring-using-beanutils/comment-page-1/#comment-9424</link>
		<dc:creator>Paul Wilton</dc:creator>
		<pubDate>Thu, 30 Apr 2009 08:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=32#comment-9424</guid>
		<description>I think a much easier and better solution would be simply to use the Commons Lang ReflectionToStringBuilder class:
for example:

	public String toString() {
             return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

see: 
http://commons.apache.org/lang/api/org/apache/commons/lang/builder/ReflectionToStringBuilder.html</description>
		<content:encoded><![CDATA[<p>I think a much easier and better solution would be simply to use the Commons Lang ReflectionToStringBuilder class:<br />
for example:</p>
<p>	public String toString() {<br />
             return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);<br />
	}</p>
<p>see:<br />
<a href="http://commons.apache.org/lang/api/org/apache/commons/lang/builder/ReflectionToStringBuilder.html" rel="nofollow">http://commons.apache.org/lang/api/org/apache/commons/lang/builder/ReflectionToStringBuilder.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

