<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mapping on Martin Ahrer</title><link>https://www.martinahrer.at/tags/mapping/</link><description>Recent content in Mapping on Martin Ahrer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 08 Mar 2016 00:00:00 +0000</lastBuildDate><atom:link href="https://www.martinahrer.at/tags/mapping/index.xml" rel="self" type="application/rss+xml"/><item><title>Bean Mapping of Transfer Objects</title><link>https://www.martinahrer.at/2016/03/08/bean-mapping-of-transfer-objects/</link><pubDate>Tue, 08 Mar 2016 00:00:00 +0000</pubDate><guid>https://www.martinahrer.at/2016/03/08/bean-mapping-of-transfer-objects/</guid><description>&lt;div class="paragraph">
&lt;p>In the past years I have been working on multiple projects where the so-called &lt;strong>Data Transfer Object&lt;/strong>
(short DTO) pattern has been heavily used. This is a pattern that has even been a &lt;a href="http://www.oracle.com/technetwork/java/transferobject-139757.html">core pattern&lt;/a> in the
JEE world.
This pattern certainly has its justification for the right cases. But in many cases I have seen
it applied inappropriately. This &lt;a href="http://www.adam-bien.com/roller/abien/entry/dto_the_exceptions_from_the">blog posting&lt;/a> by Adam Bien, a JEE advocate, is outlining the case where it should be considered useful.
However when applied, this pattern comes at the cost of additional code to maintain and some extra CPU cycles for doing the mapping.&lt;/p>
&lt;/div></description></item></channel></rss>