<?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: Putting SPELs  on ADF Code</title>
	<atom:link href="http://technology.amis.nl/2004/12/02/spelling-your-code-in-adf/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2004/12/02/spelling-your-code-in-adf/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spelling-your-code-in-adf</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: hans</title>
		<link>http://technology.amis.nl/2004/12/02/spelling-your-code-in-adf/#comment-1233</link>
		<dc:creator>hans</dc:creator>
		<pubDate>Tue, 07 Dec 2004 18:22:38 +0000</pubDate>
		<guid isPermaLink="false">/?p=283#comment-1233</guid>
		<description><![CDATA[Hey Leon,
you&#039;re right, I got JSTL and EL mixed up. There&#039;s only so much new technology I can take :P
Still I&#039;m not too fond of using EL in code; and looking back, I see you&#039;re mentioning the point yourself:
&#039;But be sure to SPELL your expressions right to avoid runtime errors&#039;. Making a typo in a getter would of course
get you a compile-time error...]]></description>
		<content:encoded><![CDATA[<p>Hey Leon,<br />
you&#8217;re right, I got JSTL and EL mixed up. There&#8217;s only so much new technology I can take <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
Still I&#8217;m not too fond of using EL in code; and looking back, I see you&#8217;re mentioning the point yourself:<br />
&#8216;But be sure to SPELL your expressions right to avoid runtime errors&#8217;. Making a typo in a getter would of course<br />
get you a compile-time error&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon van Tegelen</title>
		<link>http://technology.amis.nl/2004/12/02/spelling-your-code-in-adf/#comment-1232</link>
		<dc:creator>Leon van Tegelen</dc:creator>
		<pubDate>Sat, 04 Dec 2004 11:07:23 +0000</pubDate>
		<guid isPermaLink="false">/?p=283#comment-1232</guid>
		<description><![CDATA[Hi Hans
I didn&#039;t say there was a point to it ;-). It is just an alternative way of making your way through the objects. If the performance penalty
isn&#039;t too big I see no harm. Your other argument does not hold completely. eval.getValue(â€?${mybean.property}â€?) will actually return a null value
not an empty String. In JSTL it is true that a null value will be represented as an empty String, but that makes sense in JSP.
Also in both cases there is an equal amount of casting.
Interestingly enough, in the source JDeveloper delivers with the ADF code ( adfc directory onder JDEv home  ), the evaluator is not used. That makes you
wonder why Oracle supllied it all. Maybe there is a dependency in the framework code they didn&#039;t supply.
I&#039;ll put a post on OTN on the topic]]></description>
		<content:encoded><![CDATA[<p>Hi Hans<br />
I didn&#8217;t say there was a point to it <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . It is just an alternative way of making your way through the objects. If the performance penalty<br />
isn&#8217;t too big I see no harm. Your other argument does not hold completely. eval.getValue(â€?${mybean.property}â€?) will actually return a null value<br />
not an empty String. In JSTL it is true that a null value will be represented as an empty String, but that makes sense in JSP.<br />
Also in both cases there is an equal amount of casting.<br />
Interestingly enough, in the source JDeveloper delivers with the ADF code ( adfc directory onder JDEv home  ), the evaluator is not used. That makes you<br />
wonder why Oracle supllied it all. Maybe there is a dependency in the framework code they didn&#8217;t supply.<br />
I&#8217;ll put a post on OTN on the topic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hans</title>
		<link>http://technology.amis.nl/2004/12/02/spelling-your-code-in-adf/#comment-1231</link>
		<dc:creator>hans</dc:creator>
		<pubDate>Fri, 03 Dec 2004 20:28:19 +0000</pubDate>
		<guid isPermaLink="false">/?p=283#comment-1231</guid>
		<description><![CDATA[Hi Leon, I can&#039;t see the point of doing so. Where&#039;s the gain? Less typing?
In fact, wouldn&#039;t you be hiding errors in cases where objects are null, eg
wouldn&#039;t eval.getValue(&quot;${mybean.property}&quot;) evaluate to an empty string when
mybean can&#039;t be found / is null? Doing it in code would give you a NPE telling you there&#039;s
something wrong, while an empty String might go unnoticed...]]></description>
		<content:encoded><![CDATA[<p>Hi Leon, I can&#8217;t see the point of doing so. Where&#8217;s the gain? Less typing?<br />
In fact, wouldn&#8217;t you be hiding errors in cases where objects are null, eg<br />
wouldn&#8217;t eval.getValue(&#8220;${mybean.property}&#8221;) evaluate to an empty string when<br />
mybean can&#8217;t be found / is null? Doing it in code would give you a NPE telling you there&#8217;s<br />
something wrong, while an empty String might go unnoticed&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
