<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Creating a DTO DSL With ANTLR 3</title>
	<atom:link href="http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 01:02:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Timo Westkämper</title>
		<link>http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-442</link>
		<dc:creator><![CDATA[Timo Westkämper]]></dc:creator>
		<pubDate>Fri, 22 Feb 2008 12:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-442</guid>
		<description><![CDATA[Alternatively you might just declare classes like this :

public class ReceptacleDto {
   ...
   /** The name of the receptacle type. */
   String type;
   /** The receptacle&#039;s gross weight. */
   Quantity grossWeight;
   ...
}

and use CGLIB to construct proxy subclasses with accessors for the fields. Any other metadata you can provide via annotations.

Binding to fields with no public visibility is not so convenient in Java code, but the accessors can be used when binding and access happens via reflection (e.g. usage in view templates or Dozer)]]></description>
		<content:encoded><![CDATA[<p>Alternatively you might just declare classes like this :</p>
<p>public class ReceptacleDto {<br />
   &#8230;<br />
   /** The name of the receptacle type. */<br />
   String type;<br />
   /** The receptacle&#8217;s gross weight. */<br />
   Quantity grossWeight;<br />
   &#8230;<br />
}</p>
<p>and use CGLIB to construct proxy subclasses with accessors for the fields. Any other metadata you can provide via annotations.</p>
<p>Binding to fields with no public visibility is not so convenient in Java code, but the accessors can be used when binding and access happens via reflection (e.g. usage in view templates or Dozer)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Gredler</title>
		<link>http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-393</link>
		<dc:creator><![CDATA[Daniel Gredler]]></dc:creator>
		<pubDate>Thu, 24 Jan 2008 17:46:08 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-393</guid>
		<description><![CDATA[Yep, DTOs are useful when you don&#039;t want to send detached BOs to remote JVMs. If everything is in a single JVM / transaction / persistence context, or you don&#039;t mind sending BOs back and forth, forget DTOs!]]></description>
		<content:encoded><![CDATA[<p>Yep, DTOs are useful when you don&#8217;t want to send detached BOs to remote JVMs. If everything is in a single JVM / transaction / persistence context, or you don&#8217;t mind sending BOs back and forth, forget DTOs!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Smith</title>
		<link>http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-392</link>
		<dc:creator><![CDATA[Jon Smith]]></dc:creator>
		<pubDate>Wed, 23 Jan 2008 18:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-392</guid>
		<description><![CDATA[Guess this only makes sense if you have a large volume of different DTO&#039;s that are being passed outside of the jvm. Inside the jvm can just use the BO / models directly right up to the mvc layer.]]></description>
		<content:encoded><![CDATA[<p>Guess this only makes sense if you have a large volume of different DTO&#8217;s that are being passed outside of the jvm. Inside the jvm can just use the BO / models directly right up to the mvc layer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Gredler</title>
		<link>http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-323</link>
		<dc:creator><![CDATA[Daniel Gredler]]></dc:creator>
		<pubDate>Thu, 20 Dec 2007 20:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-323</guid>
		<description><![CDATA[True. But do you really want to code in XML? ;-)]]></description>
		<content:encoded><![CDATA[<p>True. But do you really want to code in XML? <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akash :-)</title>
		<link>http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-321</link>
		<dc:creator><![CDATA[akash :-)]]></dc:creator>
		<pubDate>Thu, 20 Dec 2007 04:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/12/10/creating-a-dto-dsl-with-antlr-3/#comment-321</guid>
		<description><![CDATA[Another approach for this mundane task is use xslt and xml. Construct a xml with property name and comment etc. appy xslt&#039;s and u r done. i developed it for one of my previous projects.]]></description>
		<content:encoded><![CDATA[<p>Another approach for this mundane task is use xslt and xml. Construct a xml with property name and comment etc. appy xslt&#8217;s and u r done. i developed it for one of my previous projects.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

