<?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/"
	>

<channel>
	<title>Chinto&#039;s blog &#187; java</title>
	<atom:link href="http://blog.chintoju.com/category/java/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.chintoju.com</link>
	<description>Can you get something out of nothing...</description>
	<lastBuildDate>Wed, 21 Sep 2011 06:39:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Microsoft suggested that the best editor for a Java file is Microsoft Visual Studio :)</title>
		<link>http://blog.chintoju.com/2011/02/microsoft-suggested-that-the-best-editor-for-a-java-file-is-microsoft-visual-studio.html</link>
		<comments>http://blog.chintoju.com/2011/02/microsoft-suggested-that-the-best-editor-for-a-java-file-is-microsoft-visual-studio.html#comments</comments>
		<pubDate>Wed, 09 Feb 2011 01:20:20 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=123</guid>
		<description><![CDATA[Microsoft just suggested that the best editor for a Java file is Microsoft Visual Studio .. It even implied that it&#8217;s actually a J# file.. take that for skewed view of the world. http://shell.windows.com/fileassoc/0409/xml/redir.asp?EXT=java]]></description>
			<content:encoded><![CDATA[<p>Microsoft just suggested that the best editor for a Java file is Microsoft Visual Studio ..  <img src='http://blog.chintoju.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It even implied that it&#8217;s actually a J# file.. take that for skewed view of the world.</p>
<p><a href="http://shell.windows.com/fileassoc/0409/xml/redir.asp?EXT=java">http://shell.windows.com/fileassoc/0409/xml/redir.asp?EXT=java</a></p>
<p><a href="http://shell.windows.com/fileassoc/0409/xml/redir.asp?EXT=java"></a><br />
<a href="http://blog.chintoju.com/wp-content/uploads/2011/02/microsoft-suggesting-visual-studio-as-an-editor-for-a-java-file.png"><img class="alignleft size-full wp-image-124" title="microsoft-suggesting-visual-studio-as-an-editor-for-a-java-file" src="http://blog.chintoju.com/wp-content/uploads/2011/02/microsoft-suggesting-visual-studio-as-an-editor-for-a-java-file.png" alt="Microsoft suggesting visual studio as an editor for a Java file" width="752" height="654" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2011/02/microsoft-suggested-that-the-best-editor-for-a-java-file-is-microsoft-visual-studio.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evaluate an EL expression</title>
		<link>http://blog.chintoju.com/2011/02/evaluate-an-el-expression.html</link>
		<comments>http://blog.chintoju.com/2011/02/evaluate-an-el-expression.html#comments</comments>
		<pubDate>Tue, 08 Feb 2011 07:33:05 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[EL]]></category>
		<category><![CDATA[jsf]]></category>
		<category><![CDATA[seam]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=109</guid>
		<description><![CDATA[Evaluate an EL expression (expression language) in java (i.e. not UI layer JSF/JSP)]]></description>
			<content:encoded><![CDATA[<p>Once you start using EL heavily within your UI, eventually you will want to use it/evaluate it back in your EJB&#8217;s and Seam/Spring components</p>
<p>There are three steps to evaluating an EL expression.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//get current EL context</span>
javax.<span style="color: #006633;">el</span>.<span style="color: #006633;">ELContext</span> elContext <span style="color: #339933;">=</span> javax.<span style="color: #006633;">faces</span>.<span style="color: #006633;">context</span>.<span style="color: #006633;">FacesContext</span>.<span style="color: #006633;">getCurrentInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getELContext</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//get the expression factory (for seam). You can probably do ExpressionFactory.newInstance() if not using seam .</span>
javax.<span style="color: #006633;">el</span>.<span style="color: #006633;">ExpressionFactory</span> expressionFactory <span style="color: #339933;">=</span> org.<span style="color: #006633;">jboss</span>.<span style="color: #006633;">seam</span>.<span style="color: #006633;">core</span>.<span style="color: #006633;">Expressions</span>.<span style="color: #006633;">instance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getExpressionFactory</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Create value expression as the EL I'm evaluating is a value e.g. #{bean.property} . Create MethodExpression if the EL is a method e.g. #{bean.method()}</span>
javax.<span style="color: #006633;">el</span>.<span style="color: #006633;">ValueExpression</span> valueExpression <span style="color: #339933;">=</span> expressionFactory.<span style="color: #006633;">createValueExpression</span><span style="color: #009900;">&#40;</span>elContext, elExpressionYouAreEvaluating, WhateverYouAreExpecting.<span style="color: #000000; font-weight: bold;">class</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// get value and dont' forget to cast.</span>
whateverYouAreExpecting <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>WhateverYouAreExpecting<span style="color: #009900;">&#41;</span> valueExpression.<span style="color: #006633;">getValue</span><span style="color: #009900;">&#40;</span>elContext<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Yup.. that&#8217;s how convulted this is . It should more be like below</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//NOTE: imaginary code</span>
<span style="color: #003399;">Object</span> value <span style="color: #339933;">=</span> ExpressionFactory.<span style="color: #006633;">getValue</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#{bean.property}&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><a href="http://www.sfwk.org/Documentation/ELWishList">That&#8217;s what these guys are asking as well..</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2011/02/evaluate-an-el-expression.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEBUG logging not working in jboss (jboss 5 and log4j)</title>
		<link>http://blog.chintoju.com/2010/08/debug-logging-not-working-in-jboss-jboss-5-and-log4j.html</link>
		<comments>http://blog.chintoju.com/2010/08/debug-logging-not-working-in-jboss-jboss-5-and-log4j.html#comments</comments>
		<pubDate>Mon, 23 Aug 2010 02:18:58 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[jboss 5]]></category>
		<category><![CDATA[jboss-as]]></category>
		<category><![CDATA[log4j]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=88</guid>
		<description><![CDATA[Just did a small post about log4j DEBUG logging not working in jboss 5.1.0. http://community.jboss.org/people/kchintoju/blog/2010/08/22/debug-logging-not-working-in-jboss-jboss-5-and-log4j]]></description>
			<content:encoded><![CDATA[<p>Just did a small post about log4j DEBUG logging not working in jboss 5.1.0.</p>
<p><a href="http://community.jboss.org/people/kchintoju/blog/2010/08/22/debug-logging-not-working-in-jboss-jboss-5-and-log4j">http://community.jboss.org/people/kchintoju/blog/2010/08/22/debug-logging-not-working-in-jboss-jboss-5-and-log4j</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2010/08/debug-logging-not-working-in-jboss-jboss-5-and-log4j.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JBoss and Oracle connection failing with java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars</title>
		<link>http://blog.chintoju.com/2009/10/jboss-and-oracle-connection-failing-with-java-lang-nosuchmethoderror-oracle-sql-converter-characterconverters-tounicodechars.html</link>
		<comments>http://blog.chintoju.com/2009/10/jboss-and-oracle-connection-failing-with-java-lang-nosuchmethoderror-oracle-sql-converter-characterconverters-tounicodechars.html#comments</comments>
		<pubDate>Thu, 08 Oct 2009 02:06:14 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=80</guid>
		<description><![CDATA[Ever saw some/none of the DB calls in jboss (4.2.3) and oracle (9i) failing with the following error. The exceptions can be all different types, but eventually caused by this following exception. . . Caused by: java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars([BI[CII)I . . This happened when I tried to switch databases this morning (both Oracle 9i) . Nothing [...]]]></description>
			<content:encoded><![CDATA[<p>Ever saw some/none of the DB calls in jboss (4.2.3) and oracle (9i) failing with the following error. The exceptions can be all different types, but eventually caused by this following exception.</p>
<p><code> .<br />
.<br />
Caused by: java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars([BI[CII)I<br />
.<br />
.</code></p>
<p>This happened when I tried to switch databases this morning (both Oracle 9i) . Nothing fixed it till I replaced both the Driver jars(<em>nls_charset12-10.2.0.jar, ojdbc14-10.2.0.jar) </em>, preferrably from somwhere the connection is working, I took them from a colleague.  Or you can try and download the latest drivers as well. But make sure to delete your server <strong>work</strong> and <strong>temp</strong> directories.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2009/10/jboss-and-oracle-connection-failing-with-java-lang-nosuchmethoderror-oracle-sql-converter-characterconverters-tounicodechars.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Subversion proxy connection issues with Eclipse (In windows)</title>
		<link>http://blog.chintoju.com/2009/03/subversion-proxy-connection-issues-with-eclipse-in-windows.html</link>
		<comments>http://blog.chintoju.com/2009/03/subversion-proxy-connection-issues-with-eclipse-in-windows.html#comments</comments>
		<pubDate>Wed, 11 Mar 2009 06:56:33 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[subclipse]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[subversive]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=65</guid>
		<description><![CDATA[If you are having issues connecting to your subversion repositories from Eclipse (May be with Subversive/Subclipse). Try the following. Enter proxy details into Subversion configuration: Open servers file in the following location Window XP C:\Documents and Settings\MyUserId\Application Data\Subversion\servers Windows Vista C:\Users\Clientside\AppData\Roaming\Subversion\servers Update following lines at the end of file [global] http-proxy-exceptions = yourproxy exceptions (e.g. [...]]]></description>
			<content:encoded><![CDATA[<p>If you are having issues connecting to your subversion repositories from Eclipse (May be with Subversive/Subclipse). Try the following.</p>
<h2>Enter proxy details into Subversion configuration:</h2>
<h3>Open <strong>servers</strong> file in the following location</h3>
<dl>
<dt>Window XP</dt>
<dd>C:\Documents and Settings\MyUserId\Application Data\Subversion\<strong>servers</strong></dd>
<dt>Windows Vista</dt>
<dd>C:\Users\Clientside\AppData\Roaming\Subversion\<strong>servers</strong></dd>
</dl>
<h3>Update following lines at the end of file</h3>
<pre>[global]
http-proxy-exceptions = yourproxy exceptions (e.g. dev.company.com.au)
http-proxy-host = yourproxyhost (e.g. proxy.company.com.au)
http-proxy-port = your proxy port (e.g. 8080)
http-proxy-username = proxyusername
http-proxy-password = proxypassword</pre>
<p><em>This step might not be needed all the time </em></p>
<h2>Update Eclipse Proxy settings</h2>
<p><strong>Windows > Preferences</strong> </p>
<p>Type &#8216;<strong>proxy</strong>&#8216; in the filter text box. Go to &#8216;Network Connections&#8217; config page. Choose manual proxy configuration and Update the proxy details.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2009/03/subversion-proxy-connection-issues-with-eclipse-in-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse/RAD debugger timing out before starting server</title>
		<link>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html</link>
		<comments>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html#comments</comments>
		<pubDate>Sat, 21 Jun 2008 00:31:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=21</guid>
		<description><![CDATA[Is your RAD/Eclipse Java debugger timing out before starting the server? Have a gazillion projects in RAD/Eclipse which all have to be deployed in server for debugging all the time like I do? There is an easy way to increase RAD/Eclipse debugger timeout. Go to Windows &#62; Preferences &#62; Java &#62; Debug Increase both &#8220;Debugger [...]]]></description>
			<content:encoded><![CDATA[<p>Is your RAD/Eclipse Java debugger timing out before starting the server?</p>
<p>Have a gazillion projects in RAD/Eclipse which all have to be deployed in server for debugging all the time like I do?</p>
<p>There is an easy way to increase RAD/Eclipse debugger timeout.</p>
<ol type="1">
<li>Go to <strong>Windows &gt; Preferences &gt; Java &gt; Debug<br />
</strong></li>
<li>Increase both &#8220;Debugger time-out&#8221; and &#8220;Launch time-out&#8221; value to be much larger. Try values like 180000/360000 respectively for time-out values of 3 and 6 mins.</li>
</ol>
<p><a href="http://bp0.blogger.com/_znpAdmT-J6Q/SFyEvDL2aqI/AAAAAAAACIA/IohQG_SUmTs/s1600-h/RAD_Eclipse_ScreenShot002.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5214188412431919778" style="margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://bp0.blogger.com/_znpAdmT-J6Q/SFyEvDL2aqI/AAAAAAAACIA/IohQG_SUmTs/s320/RAD_Eclipse_ScreenShot002.png" border="0" alt="" /></a></p>
<p>Full article at IBM</p>
<p><a href="http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en"></a><a href="http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en">http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Looks like Sun hired a Web Designer finally</title>
		<link>http://blog.chintoju.com/2008/06/looks-like-sun-hired-a-web-designer-finally.html</link>
		<comments>http://blog.chintoju.com/2008/06/looks-like-sun-hired-a-web-designer-finally.html#comments</comments>
		<pubDate>Fri, 13 Jun 2008 02:34:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=16</guid>
		<description><![CDATA[Looks like sun hired a web designer finally.. Evidence a second cool website from Sun. Here by cool I mean simple, elegant and informative. http://www.opensolaris.com/ Check it out for your self.]]></description>
			<content:encoded><![CDATA[<p>Looks like sun hired a web designer finally.. Evidence a second cool website from Sun. Here by cool I mean simple, elegant and informative.</p>
<p><a href="http://www.opensolaris.com/">http://www.opensolaris.com/</a></p>
<p>Check it out for your self.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/06/looks-like-sun-hired-a-web-designer-finally.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A cool new look for Java.com</title>
		<link>http://blog.chintoju.com/2008/06/a-cool-new-look-for-javacom.html</link>
		<comments>http://blog.chintoju.com/2008/06/a-cool-new-look-for-javacom.html#comments</comments>
		<pubDate>Tue, 10 Jun 2008 05:57:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=15</guid>
		<description><![CDATA[I have always felt let down as java developer about Sun websites.. They make a bad example of themselves in web. Opposed to Microsoft and Adobe who make stunning first impressions. Sun should do more sites like this ..simple and informative. Check it out.. I&#8217;m sure you will like the cool new look. http://www.java.com/en/]]></description>
			<content:encoded><![CDATA[<p>I have always felt let down as java developer about Sun websites.. They make a bad example of themselves in web. Opposed to <span style="font-weight: bold;">Microsoft </span>and <span style="font-weight: bold;">Adobe </span>who make stunning first impressions.</p>
<p>Sun should do more sites like this ..simple and informative.</p>
<p>Check it out.. I&#8217;m sure you will like the cool new look.</p>
<p><a href="http://www.java.com/en/">http://www.java.com/en/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/06/a-cool-new-look-for-javacom.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

