<?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 for Wet Feet - Online Marketing and Technology Blog</title>
	<atom:link href="http://www.wetfeetblog.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wetfeetblog.com</link>
	<description></description>
	<lastBuildDate>Mon, 19 Jul 2010 21:09:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Comment on Goolge app engine + java + spring + REST + JSON + Flex &#8211; Part 1 by Duvvur VS</title>
		<link>http://www.wetfeetblog.com/goolge-app-engine-java-spring-rest-json-flex-part-1/87/comment-page-1#comment-504</link>
		<dc:creator>Duvvur VS</dc:creator>
		<pubDate>Mon, 19 Jul 2010 21:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=87#comment-504</guid>
		<description>I am using following method in Controller
	@ModelAttribute(&quot;users&quot;)
  @RequestMapping(value = &quot;/GetList.json&quot;, method = RequestMethod.GET)
	  public @ResponseBody List getList() throws Exception{
	  List users = new ArrayList();
	    try {
	    
	      User user1 = new User();
	      
	      user1.setFirstName(&quot;Vijayasekhar&quot;);
	      user1.setLastName(&quot;Duvvur&quot;);
	      users.add(user1);
	      
	      User user2 = new User();
        
	      user2.setFirstName(&quot;Markus&quot;);
	      user2.setLastName(&quot;Rogosinsky&quot;);
	      users.add(user2);
	      
	    } catch (Exception e) {
	      return null;
	    }
	     System.out.println(&quot;Exit GetList method &quot; + users);
	    return users;
	  }

and i am invoking using RestTemplate as follows

List list = template.getForObject(url, List.class);

When i am trying to print list its collection of LinkedHashMap objects instead of User objects

I am not understanding whats going on ..</description>
		<content:encoded><![CDATA[<p>I am using following method in Controller<br />
	@ModelAttribute(&#8220;users&#8221;)<br />
  @RequestMapping(value = &#8220;/GetList.json&#8221;, method = RequestMethod.GET)<br />
	  public @ResponseBody List getList() throws Exception{<br />
	  List users = new ArrayList();<br />
	    try {</p>
<p>	      User user1 = new User();</p>
<p>	      user1.setFirstName(&#8220;Vijayasekhar&#8221;);<br />
	      user1.setLastName(&#8220;Duvvur&#8221;);<br />
	      users.add(user1);</p>
<p>	      User user2 = new User();</p>
<p>	      user2.setFirstName(&#8220;Markus&#8221;);<br />
	      user2.setLastName(&#8220;Rogosinsky&#8221;);<br />
	      users.add(user2);</p>
<p>	    } catch (Exception e) {<br />
	      return null;<br />
	    }<br />
	     System.out.println(&#8220;Exit GetList method &#8221; + users);<br />
	    return users;<br />
	  }</p>
<p>and i am invoking using RestTemplate as follows</p>
<p>List list = template.getForObject(url, List.class);</p>
<p>When i am trying to print list its collection of LinkedHashMap objects instead of User objects</p>
<p>I am not understanding whats going on ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chain of Title, Title Seasoning and Land Trusts by Robert Tapia</title>
		<link>http://www.wetfeetblog.com/chain-of-title-title-seasoning-and-land-trusts/15/comment-page-1#comment-503</link>
		<dc:creator>Robert Tapia</dc:creator>
		<pubDate>Thu, 15 Jul 2010 19:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/archives/15#comment-503</guid>
		<description>Here is another story that explains why the historical chain of title is of utmost importance: http://www.wix.com/iPSSystem/1708_Holguin_St
Exposing this tyope of activity got us sued for all things: Defamation instead of disputing the documents we presented that shows fraud all over the place. When will these people ever learn that a good name does not come from scaring people off with overwhelming claims to stiffle exposure of the truth instead, by simply doing what is right.</description>
		<content:encoded><![CDATA[<p>Here is another story that explains why the historical chain of title is of utmost importance: <a href="http://www.wix.com/iPSSystem/1708_Holguin_St" rel="nofollow">http://www.wix.com/iPSSystem/1708_Holguin_St</a><br />
Exposing this tyope of activity got us sued for all things: Defamation instead of disputing the documents we presented that shows fraud all over the place. When will these people ever learn that a good name does not come from scaring people off with overwhelming claims to stiffle exposure of the truth instead, by simply doing what is right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google App Engine + JAVA + JDO + Inheritance + One-To-Many Relationships by Tomas Mazukna</title>
		<link>http://www.wetfeetblog.com/google-app-engine-java-jdo-inheritance-one-to-many-relationships/242/comment-page-1#comment-502</link>
		<dc:creator>Tomas Mazukna</dc:creator>
		<pubDate>Tue, 06 Jul 2010 12:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=242#comment-502</guid>
		<description>Its the same as ModelBase, I just copy-pasted from different Project where it is called EntityBase.</description>
		<content:encoded><![CDATA[<p>Its the same as ModelBase, I just copy-pasted from different Project where it is called EntityBase.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google App Engine + JAVA + JDO + Inheritance + One-To-Many Relationships by Prabuddha</title>
		<link>http://www.wetfeetblog.com/google-app-engine-java-jdo-inheritance-one-to-many-relationships/242/comment-page-1#comment-501</link>
		<dc:creator>Prabuddha</dc:creator>
		<pubDate>Tue, 06 Jul 2010 11:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=242#comment-501</guid>
		<description>Can you post the EntityBase class. Is it any different from the ModelBase class</description>
		<content:encoded><![CDATA[<p>Can you post the EntityBase class. Is it any different from the ModelBase class</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google App Engine + JAVA + JDO = Simple Search by Tomas Mazukna</title>
		<link>http://www.wetfeetblog.com/google_app_engine-java-jdo-simple_search/287/comment-page-1#comment-500</link>
		<dc:creator>Tomas Mazukna</dc:creator>
		<pubDate>Tue, 22 Jun 2010 12:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=287#comment-500</guid>
		<description>The reason you have to use Key is mandated for the child objects. Key is actually combination of 2 ids: parent and child. You can also use it for parent objects, but I like Long for simplicity. If you try using Long for child key Data Nucleus will complain very loudly :)

Tomas</description>
		<content:encoded><![CDATA[<p>The reason you have to use Key is mandated for the child objects. Key is actually combination of 2 ids: parent and child. You can also use it for parent objects, but I like Long for simplicity. If you try using Long for child key Data Nucleus will complain very loudly <img src='http://www.wetfeetblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Tomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google App Engine + JAVA + JDO = Simple Search by Col</title>
		<link>http://www.wetfeetblog.com/google_app_engine-java-jdo-simple_search/287/comment-page-1#comment-499</link>
		<dc:creator>Col</dc:creator>
		<pubDate>Tue, 22 Jun 2010 06:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=287#comment-499</guid>
		<description>Hi Tomas,

Thanks for the great posts. I&#039;ve read them all today and have found them extremely helpful. 

I just wanted to ask about the Key property. You seem to use it for some primary keys and you use Long for some others. Is there a reason for this? 

thanks</description>
		<content:encoded><![CDATA[<p>Hi Tomas,</p>
<p>Thanks for the great posts. I&#8217;ve read them all today and have found them extremely helpful. </p>
<p>I just wanted to ask about the Key property. You seem to use it for some primary keys and you use Long for some others. Is there a reason for this? </p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google App Engine &#8211; Full Text Search with JDO &#8211; Revisited by Gene</title>
		<link>http://www.wetfeetblog.com/google-app-engine-full-text-search-with-jdo-revisited/368/comment-page-1#comment-498</link>
		<dc:creator>Gene</dc:creator>
		<pubDate>Thu, 17 Jun 2010 19:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=368#comment-498</guid>
		<description>Ignore me.. it is in the lucene 3.0.2 package under: /lucene-3.0.2/contrib/snowball

Thanks!</description>
		<content:encoded><![CDATA[<p>Ignore me.. it is in the lucene 3.0.2 package under: /lucene-3.0.2/contrib/snowball</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google App Engine &#8211; Full Text Search with JDO &#8211; Revisited by Gene</title>
		<link>http://www.wetfeetblog.com/google-app-engine-full-text-search-with-jdo-revisited/368/comment-page-1#comment-497</link>
		<dc:creator>Gene</dc:creator>
		<pubDate>Thu, 17 Jun 2010 18:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=368#comment-497</guid>
		<description>I like this example.  It is obviously very comprehensive and a big help for myself.  So thanks for that.  

I am have downloaded the lucene package 3.0.2.  but I am having trouble download the SnowballAnalyzer code.  Could you please supply a location for the jar file?</description>
		<content:encoded><![CDATA[<p>I like this example.  It is obviously very comprehensive and a big help for myself.  So thanks for that.  </p>
<p>I am have downloaded the lucene package 3.0.2.  but I am having trouble download the SnowballAnalyzer code.  Could you please supply a location for the jar file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google App Engine + JAVA + JDO + Inheritance + One-To-Many Relationships by Tomas Mazukna</title>
		<link>http://www.wetfeetblog.com/google-app-engine-java-jdo-inheritance-one-to-many-relationships/242/comment-page-1#comment-490</link>
		<dc:creator>Tomas Mazukna</dc:creator>
		<pubDate>Fri, 04 Jun 2010 11:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=242#comment-490</guid>
		<description>Bruce,

Your observation is correct - you can not have children of the same class. 
My hunch is that it is due to the implementation of the Key class. 
Each child Key holds reference to parent key/id. In theory it should be possible to have child of the same type, but I think current implementation does not allow it. Maybe to safeguard for infinite loop where you make same object child and parent......

Tomas</description>
		<content:encoded><![CDATA[<p>Bruce,</p>
<p>Your observation is correct &#8211; you can not have children of the same class.<br />
My hunch is that it is due to the implementation of the Key class.<br />
Each child Key holds reference to parent key/id. In theory it should be possible to have child of the same type, but I think current implementation does not allow it. Maybe to safeguard for infinite loop where you make same object child and parent&#8230;&#8230;</p>
<p>Tomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google App Engine + JAVA + JDO + Inheritance + One-To-Many Relationships by Bruce</title>
		<link>http://www.wetfeetblog.com/google-app-engine-java-jdo-inheritance-one-to-many-relationships/242/comment-page-1#comment-469</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Sat, 22 May 2010 02:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.wetfeetblog.com/?p=242#comment-469</guid>
		<description>Tomas,

could you help me a bit if you have time?
yesterday I was trying to model a simple forum comments. Just a
comments which you can add more comments to.
So, the approximation of the entity is like this:
-------------------------------------------------------------------
@PersistenceCapable (detachable = &quot;true&quot;, identityType =
IdentityType.APPLICATION)
public class CommentEntity {

       @PrimaryKey
       @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
       private Key key;

       @Persistent
       private String category;

       @Persistent
       private String commentDate;

       @Persistent
       private String userName;

       @Persistent
       private String commentBody;

       @Persistent
       private List children = new
ArrayList();

       getters/setters/etc.
}

DataNucleus enhancement goes ok, no errors in the console.
Call of the pm.makePersistent() goes without any exceptions for such
entity.
BUT IT IS NOT PERSISTED.

I found out that problem is in &quot;children&quot; property. And the problem is
it&#039;s a list of objects of the same class as the parent entity. If I
comment that property declaration the entity is persisted. Also if I
change the type of the child entities to some new class (not extending
the CommentEntity) it also gets persisted.

So my suspicion is that JDO (or GAE JDO impl) does not allow child
entities to be of the same class. Is it correct? Maybe I&#039;m missing
something essential? Please advice.</description>
		<content:encoded><![CDATA[<p>Tomas,</p>
<p>could you help me a bit if you have time?<br />
yesterday I was trying to model a simple forum comments. Just a<br />
comments which you can add more comments to.<br />
So, the approximation of the entity is like this:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
@PersistenceCapable (detachable = &#8220;true&#8221;, identityType =<br />
IdentityType.APPLICATION)<br />
public class CommentEntity {</p>
<p>       @PrimaryKey<br />
       @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)<br />
       private Key key;</p>
<p>       @Persistent<br />
       private String category;</p>
<p>       @Persistent<br />
       private String commentDate;</p>
<p>       @Persistent<br />
       private String userName;</p>
<p>       @Persistent<br />
       private String commentBody;</p>
<p>       @Persistent<br />
       private List children = new<br />
ArrayList();</p>
<p>       getters/setters/etc.<br />
}</p>
<p>DataNucleus enhancement goes ok, no errors in the console.<br />
Call of the pm.makePersistent() goes without any exceptions for such<br />
entity.<br />
BUT IT IS NOT PERSISTED.</p>
<p>I found out that problem is in &#8220;children&#8221; property. And the problem is<br />
it&#8217;s a list of objects of the same class as the parent entity. If I<br />
comment that property declaration the entity is persisted. Also if I<br />
change the type of the child entities to some new class (not extending<br />
the CommentEntity) it also gets persisted.</p>
<p>So my suspicion is that JDO (or GAE JDO impl) does not allow child<br />
entities to be of the same class. Is it correct? Maybe I&#8217;m missing<br />
something essential? Please advice.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
