<?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: Fluent Interface and Reflection for Object Building in Java</title>
	<atom:link href="http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/</link>
	<description></description>
	<lastBuildDate>Tue, 03 Jan 2012 15:08:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fluent Interfaces for Searching Hibernate Entities &#171; IT Developer World</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-312921</link>
		<dc:creator>Fluent Interfaces for Searching Hibernate Entities &#171; IT Developer World</dc:creator>
		<pubDate>Sat, 07 Aug 2010 01:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-312921</guid>
		<description>[...] code for the POJOs fluent interfaces was based on a post on Code Monkeyism blog. After adopting this code we started to think about further improvements to that class that made [...]</description>
		<content:encoded><![CDATA[<p>[...] code for the POJOs fluent interfaces was based on a post on Code Monkeyism blog. After adopting this code we started to think about further improvements to that class that made [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakub Janczak</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-299633</link>
		<dc:creator>Jakub Janczak</dc:creator>
		<pubDate>Wed, 16 Jun 2010 16:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-299633</guid>
		<description>We&#039;ve created an eclipse plugin that realizes the idea of fluent builder. It might be worth checking:

http://code.google.com/p/fluent-builders-generator-eclipse-plugin/</description>
		<content:encoded><![CDATA[<p>We&#8217;ve created an eclipse plugin that realizes the idea of fluent builder. It might be worth checking:</p>
<p><a href="http://code.google.com/p/fluent-builders-generator-eclipse-plugin/" rel="nofollow">http://code.google.com/p/fluent-builders-generator-eclipse-plugin/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dfernandez</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-279289</link>
		<dc:creator>dfernandez</dc:creator>
		<pubDate>Fri, 26 Mar 2010 00:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-279289</guid>
		<description>Hello,

You might be interested in op4j [http://www.op4j.org], a utility library for improving code readability and quality in Java based on the &quot;Fluent Interface&quot; concept.

Regards,
Daniel.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>You might be interested in op4j [http://www.op4j.org], a utility library for improving code readability and quality in Java based on the &#8220;Fluent Interface&#8221; concept.</p>
<p>Regards,<br />
Daniel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-137940</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Sun, 27 Jul 2008 06:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-137940</guid>
		<description>@Uwe: Yes,  that should work. 

Peace
-stephan</description>
		<content:encoded><![CDATA[<p>@Uwe: Yes,  that should work. </p>
<p>Peace<br />
-stephan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uwe Langjahr</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-137535</link>
		<dc:creator>Uwe Langjahr</dc:creator>
		<pubDate>Sat, 26 Jul 2008 21:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-137535</guid>
		<description>Hello Stephan,

how can you handle the modification of an instance with the fluent interfaces?

I have added a new method called &quot;modify&quot;, so that it is possible
to modify existing instances like:
  person.modify().age(3).firstName(&quot;Uwe&quot;).lastName(&quot;Langjahr&quot;).active(false).age(109);

The method is implemented:
public PersonFluentInterface modify () {
  return FluentInterface.create(this, PersonFluentInterface.class);
}

It works, but my problem is, that I&#039;m not familiar with the reflection interface. Can you please
validate, that this implementation is correct (no unnecessary new instance are created etc.)

Greetings
Uwe</description>
		<content:encoded><![CDATA[<p>Hello Stephan,</p>
<p>how can you handle the modification of an instance with the fluent interfaces?</p>
<p>I have added a new method called &#8220;modify&#8221;, so that it is possible<br />
to modify existing instances like:<br />
  person.modify().age(3).firstName(&#8220;Uwe&#8221;).lastName(&#8220;Langjahr&#8221;).active(false).age(109);</p>
<p>The method is implemented:<br />
public PersonFluentInterface modify () {<br />
  return FluentInterface.create(this, PersonFluentInterface.class);<br />
}</p>
<p>It works, but my problem is, that I&#8217;m not familiar with the reflection interface. Can you please<br />
validate, that this implementation is correct (no unnecessary new instance are created etc.)</p>
<p>Greetings<br />
Uwe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Francia</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-84565</link>
		<dc:creator>Andrea Francia</dc:creator>
		<pubDate>Sun, 04 May 2008 18:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-84565</guid>
		<description>Your idea is a great idea.

I wrote created an opensource library for creating Builders with fluent interface based on your idea in this post.
I think I put the propert credits to you, if there are any problem let me know.

I have also extended the builder to manage object lists.
For example if Person has a property named &#039;lovedThings&#039; of type List with the library I wrote you can write:

Person person = Person.builder()
       .withFirstName(&quot;John&quot;)
       .withLovedThings(&quot;pizza&quot;, &quot;soccer&quot;, &quot;jogging&quot;)
       .build();

The library can be found at http://www.andreafrancia.it/articoli/fluent-builder</description>
		<content:encoded><![CDATA[<p>Your idea is a great idea.</p>
<p>I wrote created an opensource library for creating Builders with fluent interface based on your idea in this post.<br />
I think I put the propert credits to you, if there are any problem let me know.</p>
<p>I have also extended the builder to manage object lists.<br />
For example if Person has a property named &#8216;lovedThings&#8217; of type List with the library I wrote you can write:</p>
<p>Person person = Person.builder()<br />
       .withFirstName(&#8220;John&#8221;)<br />
       .withLovedThings(&#8220;pizza&#8221;, &#8220;soccer&#8221;, &#8220;jogging&#8221;)<br />
       .build();</p>
<p>The library can be found at <a href="http://www.andreafrancia.it/articoli/fluent-builder" rel="nofollow">http://www.andreafrancia.it/articoli/fluent-builder</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-54807</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Mon, 11 Feb 2008 17:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-54807</guid>
		<description>Yes, very nice idea to add and seems useful.</description>
		<content:encoded><![CDATA[<p>Yes, very nice idea to add and seems useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timo Westkämper</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-54800</link>
		<dc:creator>Timo Westkämper</dc:creator>
		<pubDate>Mon, 11 Feb 2008 17:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-54800</guid>
		<description>Nice idea. The following code

#   public static PersonFluentInterface with(Person person) {  
#     return FluentInterface.create(  
#       person, PersonFluentInterface.class);  
#   } 

might be a good addition. Because sometimes the instance is already available, but you still want to populate it fluently.</description>
		<content:encoded><![CDATA[<p>Nice idea. The following code</p>
<p>#   public static PersonFluentInterface with(Person person) {<br />
#     return FluentInterface.create(<br />
#       person, PersonFluentInterface.class);<br />
#   } </p>
<p>might be a good addition. Because sometimes the instance is already available, but you still want to populate it fluently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-42439</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Tue, 04 Dec 2007 05:48:11 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-42439</guid>
		<description>Thanks :-) Can&#039;t find it anymore.</description>
		<content:encoded><![CDATA[<p>Thanks :-) Can&#8217;t find it anymore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prashant</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-42344</link>
		<dc:creator>prashant</dc:creator>
		<pubDate>Mon, 03 Dec 2007 14:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-42344</guid>
		<description>Stephan,

Good idea.liked the implementation.BTW what&#039;s the small bug?

Thanks
Prashant</description>
		<content:encoded><![CDATA[<p>Stephan,</p>
<p>Good idea.liked the implementation.BTW what&#8217;s the small bug?</p>
<p>Thanks<br />
Prashant</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creating a fluent interface for Google Collections at Stephans Blog</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-34551</link>
		<dc:creator>Creating a fluent interface for Google Collections at Stephans Blog</dc:creator>
		<pubDate>Wed, 17 Oct 2007 07:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-34551</guid>
		<description>[...] Back to our example. I&#8217;ve recently shown how to create a fluent interface for object creation. One for Google Collections might look like this: [...]</description>
		<content:encoded><![CDATA[<p>[...] Back to our example. I&#8217;ve recently shown how to create a fluent interface for object creation. One for Google Collections might look like this: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-33769</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Wed, 10 Oct 2007 17:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-33769</guid>
		<description>Thanks, nice presentation, it looks interesting. I know the Builder pattern back from the GOF book and recently Groovy/Grails. Therefor I used the word &quot;building&quot; and not creating in the title. But I thought about how to implement this pattern with minimal implementation overhead, so I created the reflection solution.

Perhaps the presentation will help me get rid of the suppress warning annotation.</description>
		<content:encoded><![CDATA[<p>Thanks, nice presentation, it looks interesting. I know the Builder pattern back from the GOF book and recently Groovy/Grails. Therefor I used the word &#8220;building&#8221; and not creating in the title. But I thought about how to implement this pattern with minimal implementation overhead, so I created the reflection solution.</p>
<p>Perhaps the presentation will help me get rid of the suppress warning annotation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: afsina</title>
		<link>http://codemonkeyism.com/fluent-interface-and-reflection-for-object-building-in-java/comment-page-1/#comment-33767</link>
		<dc:creator>afsina</dc:creator>
		<pubDate>Wed, 10 Oct 2007 17:11:33 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/#comment-33767</guid>
		<description>You may have a look at the Builder pattern introduced by Joshua Bloch. it is pretty good approach to this problem IMHO.
http://developers.sun.com/learning/javaoneonline/2007/pdf/TS-2689.pdf</description>
		<content:encoded><![CDATA[<p>You may have a look at the Builder pattern introduced by Joshua Bloch. it is pretty good approach to this problem IMHO.<br />
<a href="http://developers.sun.com/learning/javaoneonline/2007/pdf/TS-2689.pdf" rel="nofollow">http://developers.sun.com/learning/javaoneonline/2007/pdf/TS-2689.pdf</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (user agent is rejected)
Database Caching 4/24 queries in 0.030 seconds using disk

Served from: codemonkeyism.com @ 2012-02-10 08:11:12 -->
