<?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/"
	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>Musings of an orthogonal mind</title>
	<atom:link href="http://swathantrapakshi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://swathantrapakshi.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 12 Feb 2009 17:05:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='swathantrapakshi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Musings of an orthogonal mind</title>
		<link>http://swathantrapakshi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://swathantrapakshi.wordpress.com/osd.xml" title="Musings of an orthogonal mind" />
	<atom:link rel='hub' href='http://swathantrapakshi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Object conversion dozer(ed)</title>
		<link>http://swathantrapakshi.wordpress.com/2008/11/24/object-conversion-dozered/</link>
		<comments>http://swathantrapakshi.wordpress.com/2008/11/24/object-conversion-dozered/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 17:13:52 +0000</pubDate>
		<dc:creator>Shrihari Chakrapani</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Dozer]]></category>
		<category><![CDATA[object-mapping]]></category>

		<guid isPermaLink="false">http://swathantrapakshi.wordpress.com/?p=12</guid>
		<description><![CDATA[Continuing on my experiences on the object mapping exercises, I found a interesting site here , which eulogize it saying it is currently the most powerful bean-2-bean mapping utilities found on the net. Others being Apache Commons Beanutils and Spring BeanWrapper. I dont deny that Dozer is the most powerful bean mapping utility compared to others, but for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swathantrapakshi.wordpress.com&amp;blog=3669349&amp;post=12&amp;subd=swathantrapakshi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Continuing on my experiences on the object mapping exercises, I found a interesting site <a href="http://www.kleineikenscheidt.de/stefan/archives/2006/02/bean-to-bean-transformations.html" target="_self">here </a>, which eulogize it saying it is currently the most powerful bean-2-bean mapping utilities found on the net. Others being <a href="http://jakarta.apache.org/commons/beanutils/" target="_self">Apache Commons Beanutils</a> and <a href="http://www.springframework.org/docs/api/org/springframework/beans/BeanWrapper.html" target="_self">Spring BeanWrapper</a>. I dont deny that Dozer is the most powerful bean mapping utility compared to others, but for simple and straightforward examples. </p>
<p>Dozer has following features which we use the most often:</p>
<p> </p>
<ul>
<li>Declarative mapping (default: dozerBeanMapping.xml) which contain source-destination object field-to-field mapping with hints.</li>
<li>Support for Custom-converters for custom mapping, or out-of-fit/inconvertible data-types</li>
<li>Better error-handling features and deep-index-hints for deep object indirections. </li>
</ul>
<p> </p>
<p>However we had two scenarios which we needed a bean-mapping utility to aid us convert deep-rooted object hierarchies.</p>
<ul>
<li>Carving a subset of information from a superset object.</li>
<li>Combining different subsets of information and generate a superset object. </li>
</ul>
<p>Dozer helps us solve both these scenarios where we could generate mappings distinguished by map_ids. We could identify and individually map source-object to destination-object construct, that could constitute either the big source-superset object or the destination-superset object in the respective scenarios. Dozer supports only index-based object referencing and does not support XPath based querying on instance object values, which we seriously needed, as we had an unordered instance object aggregate and mapping based on the certain named references.</p>
<p>We will talk about other experiences in the later posts. Until then, Ciao!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swathantrapakshi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swathantrapakshi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swathantrapakshi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swathantrapakshi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swathantrapakshi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swathantrapakshi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swathantrapakshi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swathantrapakshi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swathantrapakshi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swathantrapakshi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swathantrapakshi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swathantrapakshi.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swathantrapakshi.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swathantrapakshi.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swathantrapakshi.wordpress.com&amp;blog=3669349&amp;post=12&amp;subd=swathantrapakshi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swathantrapakshi.wordpress.com/2008/11/24/object-conversion-dozered/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e526c33330ecec972667ecd95501d513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shrihari</media:title>
		</media:content>
	</item>
		<item>
		<title>Object-Mapping Dilemma</title>
		<link>http://swathantrapakshi.wordpress.com/2008/11/22/object-mapping-dilemma/</link>
		<comments>http://swathantrapakshi.wordpress.com/2008/11/22/object-mapping-dilemma/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 18:31:32 +0000</pubDate>
		<dc:creator>Shrihari Chakrapani</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[bean-mapping]]></category>

		<guid isPermaLink="false">http://swathantrapakshi.wordpress.com/?p=5</guid>
		<description><![CDATA[In high loose-end systems, where communication happen through service-lookup interactions, there are common concerns with regard to mapping objects when the service-requests need to be processed.     You would need a subset of data from the request object, if there are fine grained delegation sub-request that may need to be executed in sequence. Carving an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swathantrapakshi.wordpress.com&amp;blog=3669349&amp;post=5&amp;subd=swathantrapakshi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In high loose-end systems, where communication happen through service-lookup interactions, there are common concerns with regard to mapping objects when the service-requests need to be processed.</p>
<p>    You would need a subset of data from the request object, if there are fine grained delegation sub-request that may need to be executed in sequence. Carving an object subset from the original request object is &#8216;<em>narrowing</em>&#8216; a request state. A typical example would be to place an order in a shopping-cart scenario. The actual request (of placing an order) may be processed in two steps : authorizing a person into the site, and then placing the actual order.</p>
<p>   You may also face another concern of carving a response object from the different response objects in the fine-grained sequence of smaller operations carried out during request processing. This would be called &#8216;<em>broadening</em>&#8216; the response state.</p>
<p>I am sure this is one of most common concerns we may have faced in some or the other scenario. We could achieve a solution to the problem of object-state narrowing or broadening in two approaches:</p>
<blockquote><p>1) Bean-to-Bean Mapping (Tools like Dozer, Apache-Common-Beanutils, Spring BeanWrapper etc. would help us do that!)</p></blockquote>
<blockquote><p>2) XML-to-XML Mapping ( This is low-level activity, which would require us to serialize object-states to XML, map to destination XML using XSLT, de-serialize the destination object-state from the generated XML).</p></blockquote>
<p>More on these approaches in my next post!. Until then, ciao!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swathantrapakshi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swathantrapakshi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swathantrapakshi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swathantrapakshi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swathantrapakshi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swathantrapakshi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swathantrapakshi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swathantrapakshi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swathantrapakshi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swathantrapakshi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swathantrapakshi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swathantrapakshi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swathantrapakshi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swathantrapakshi.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swathantrapakshi.wordpress.com&amp;blog=3669349&amp;post=5&amp;subd=swathantrapakshi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swathantrapakshi.wordpress.com/2008/11/22/object-mapping-dilemma/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e526c33330ecec972667ecd95501d513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shrihari</media:title>
		</media:content>
	</item>
		<item>
		<title>My varied interests!</title>
		<link>http://swathantrapakshi.wordpress.com/2008/05/07/my-varied-interests/</link>
		<comments>http://swathantrapakshi.wordpress.com/2008/05/07/my-varied-interests/#comments</comments>
		<pubDate>Wed, 07 May 2008 15:41:05 +0000</pubDate>
		<dc:creator>Shrihari Chakrapani</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://swathantrapakshi.wordpress.com/?p=3</guid>
		<description><![CDATA[Welcome to read my first blog entry here on WordPress! Though I have been blogging for last two years elsewhere, I could not devote much time on a specific topic! I have couple of varied interests, which I would blogging about! First includes my technology interests in Java and architectural musings, and my other interests [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swathantrapakshi.wordpress.com&amp;blog=3669349&amp;post=3&amp;subd=swathantrapakshi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to read my first blog entry here on WordPress! Though I have been blogging for last two years elsewhere, I could not devote much time on a specific topic! I have couple of varied interests, which I would blogging about! First includes my technology interests in Java and architectural musings, and my other interests include my interests in visiting underground and collecting goodies. I would elaborate on these fronts in my future blogs.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swathantrapakshi.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swathantrapakshi.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swathantrapakshi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swathantrapakshi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swathantrapakshi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swathantrapakshi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swathantrapakshi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swathantrapakshi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swathantrapakshi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swathantrapakshi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swathantrapakshi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swathantrapakshi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swathantrapakshi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swathantrapakshi.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swathantrapakshi.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swathantrapakshi.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swathantrapakshi.wordpress.com&amp;blog=3669349&amp;post=3&amp;subd=swathantrapakshi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swathantrapakshi.wordpress.com/2008/05/07/my-varied-interests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e526c33330ecec972667ecd95501d513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Shrihari</media:title>
		</media:content>
	</item>
	</channel>
</rss>
