<?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: Java7 Wish: Object/Bean Factory</title>
	<atom:link href="http://www.altuure.com/2008/05/09/java7-object-bean-factory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.altuure.com/2008/05/09/java7-object-bean-factory/</link>
	<description>Mert Can Akkan's java tips,options, news...</description>
	<lastBuildDate>Wed, 03 Mar 2010 10:08:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: RogerV</title>
		<link>http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-298</link>
		<dc:creator>RogerV</dc:creator>
		<pubDate>Wed, 24 Dec 2008 04:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-298</guid>
		<description>There&#039;s a rebellion underway regards XML. JSON has rapidly supplanted it on the web in general for AJAX purposes.

Spring started supporting alternative config langugages due to user demand and the general distaste of XML (which was tending to be counter Spring&#039;s argument that it is an antidote to J2EE and EJB - as that was all steeped in myriad XML config files).

Here&#039;s Terrence Parr&#039;s take on the subject matter:

Humans should not have to grok XML
(Answers to the question &quot;When shouldn&#039;t you use XML?&quot;)
http://www.ibm.com/developerworks/xml/library/x-sbxml.html

Then finally, contrast these two files in respect to the application.properties include and the first two bean descriptors:

http://vossnet.org/applicationContext.xml

http://vossnet.org/applicationContext.jfig.html

The old-style Spring XML version is very verbose.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a rebellion underway regards XML. JSON has rapidly supplanted it on the web in general for AJAX purposes.</p>
<p>Spring started supporting alternative config langugages due to user demand and the general distaste of XML (which was tending to be counter Spring&#8217;s argument that it is an antidote to J2EE and EJB &#8211; as that was all steeped in myriad XML config files).</p>
<p>Here&#8217;s Terrence Parr&#8217;s take on the subject matter:</p>
<p>Humans should not have to grok XML<br />
(Answers to the question &#8220;When shouldn&#8217;t you use XML?&#8221;)<br />
<a href="http://www.ibm.com/developerworks/xml/library/x-sbxml.html" rel="nofollow">http://www.ibm.com/developerworks/xml/library/x-sbxml.html</a></p>
<p>Then finally, contrast these two files in respect to the application.properties include and the first two bean descriptors:</p>
<p><a href="http://vossnet.org/applicationContext.xml" rel="nofollow">http://vossnet.org/applicationContext.xml</a></p>
<p><a href="http://vossnet.org/applicationContext.jfig.html" rel="nofollow">http://vossnet.org/applicationContext.jfig.html</a></p>
<p>The old-style Spring XML version is very verbose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: altuure</title>
		<link>http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-295</link>
		<dc:creator>altuure</dc:creator>
		<pubDate>Tue, 23 Dec 2008 16:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-295</guid>
		<description>very interesting notation and project indeed , wish you good luck
but I have some serious question:
XML is invented and and used to get rid of this type configuration, isn&#039;t it ?</description>
		<content:encoded><![CDATA[<p>very interesting notation and project indeed , wish you good luck<br />
but I have some serious question:<br />
XML is invented and and used to get rid of this type configuration, isn&#8217;t it ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RogerV</title>
		<link>http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-293</link>
		<dc:creator>RogerV</dc:creator>
		<pubDate>Tue, 23 Dec 2008 16:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-293</guid>
		<description>I&#039;ve build a bean factory DSL and library approach to solving this for Java. Let me know what you think:

is JFig language syntax efficient and clear (and better than Spring-Framework’s XML DSL)?
http://stackoverflow.com/questions/384890/is-jfig-language-syntax-efficient-and-clear-and-better-than-spring-frameworks-x

JFig™ - alternative metadata config language for Spring
http://dobbscodetalk.com/index.php?option=com_content&amp;task=view&amp;id=922&amp;Itemid=85</description>
		<content:encoded><![CDATA[<p>I&#8217;ve build a bean factory DSL and library approach to solving this for Java. Let me know what you think:</p>
<p>is JFig language syntax efficient and clear (and better than Spring-Framework’s XML DSL)?<br />
<a href="http://stackoverflow.com/questions/384890/is-jfig-language-syntax-efficient-and-clear-and-better-than-spring-frameworks-x" rel="nofollow">http://stackoverflow.com/questions/384890/is-jfig-language-syntax-efficient-and-clear-and-better-than-spring-frameworks-x</a></p>
<p>JFig™ &#8211; alternative metadata config language for Spring<br />
<a href="http://dobbscodetalk.com/index.php?option=com_content&amp;task=view&amp;id=922&amp;Itemid=85" rel="nofollow">http://dobbscodetalk.com/index.php?option=com_content&amp;task=view&amp;id=922&amp;Itemid=85</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laird Nelson</title>
		<link>http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-65</link>
		<dc:creator>Laird Nelson</dc:creator>
		<pubDate>Mon, 12 May 2008 14:09:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-65</guid>
		<description>final Object o = java.beans.Beans.instantiate(someClassLoader, &quot;fargBarg&quot;);

Or:

final Object o = someJNDIContext.lookup(&quot;fargBarg&quot;);

(Have a look at http://java.sun.com/products/jndi/tutorial/objects/factory/index.html in conjunction with this.)

Or:

final Iterator allInstances = java.util.ServiceLoader.load(someInterface).iterator();</description>
		<content:encoded><![CDATA[<p>final Object o = java.beans.Beans.instantiate(someClassLoader, &#8220;fargBarg&#8221;);</p>
<p>Or:</p>
<p>final Object o = someJNDIContext.lookup(&#8220;fargBarg&#8221;);</p>
<p>(Have a look at <a href="http://java.sun.com/products/jndi/tutorial/objects/factory/index.html" rel="nofollow">http://java.sun.com/products/jndi/tutorial/objects/factory/index.html</a> in conjunction with this.)</p>
<p>Or:</p>
<p>final Iterator allInstances = java.util.ServiceLoader.load(someInterface).iterator();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter lawrey</title>
		<link>http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-64</link>
		<dc:creator>peter lawrey</dc:creator>
		<pubDate>Fri, 09 May 2008 21:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2008/05/09/java7-object-bean-factory/#comment-64</guid>
		<description>I use the following interface which is fairly extensible.

interface Factory&lt;D, E&gt; {
    public E acquire(D description);
}

So you could have a Factory&lt;String, Socket&gt; or Factory&lt;Map&lt;String, Object&gt;, DataValue&gt;</description>
		<content:encoded><![CDATA[<p>I use the following interface which is fairly extensible.</p>
<p>interface Factory&lt;D, E&gt; {<br />
    public E acquire(D description);<br />
}</p>
<p>So you could have a Factory&lt;String, Socket&gt; or Factory&lt;Map&lt;String, Object&gt;, DataValue&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
