<?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: Java &#8211; Console</title>
	<atom:link href="http://www.certpal.com/blogs/2009/08/java-console/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.certpal.com/blogs/2009/08/java-console/</link>
	<description>Technology and certifications</description>
	<lastBuildDate>Thu, 02 Feb 2012 09:47:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: SCJP 1.6 and SCJP 1.5 &#171; Welcome to Kosovar Java Community</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-1491</link>
		<dc:creator>SCJP 1.6 and SCJP 1.5 &#171; Welcome to Kosovar Java Community</dc:creator>
		<pubDate>Fri, 25 Feb 2011 12:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-1491</guid>
		<description>[...] depth: exception handling, collections, assertions, threads, and flow control. See this topic, java.io.Console, java.util.NavigableSet and SCJP 6 vs SCJP 5 for more [...]</description>
		<content:encoded><![CDATA[<p>[...] depth: exception handling, collections, assertions, threads, and flow control. See this topic, java.io.Console, java.util.NavigableSet and SCJP 6 vs SCJP 5 for more [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-1165</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 01 May 2010 02:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-1165</guid>
		<description>Thanks for the info. Yet another scenario where heap is readable is JVM crash with core dump.Core dump will have whatever was in heap at the time.</description>
		<content:encoded><![CDATA[<p>Thanks for the info. Yet another scenario where heap is readable is JVM crash with core dump.Core dump will have whatever was in heap at the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-1157</link>
		<dc:creator>Samuel</dc:creator>
		<pubDate>Mon, 19 Apr 2010 17:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-1157</guid>
		<description>Thanks,
Always useful info</description>
		<content:encoded><![CDATA[<p>Thanks,<br />
Always useful info</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shruti</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-1097</link>
		<dc:creator>shruti</dc:creator>
		<pubDate>Sun, 21 Feb 2010 19:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-1097</guid>
		<description>thanks CertPal
post is very useful
good discussion
thanks for the efforts</description>
		<content:encoded><![CDATA[<p>thanks CertPal<br />
post is very useful<br />
good discussion<br />
thanks for the efforts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fort</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-1037</link>
		<dc:creator>Fort</dc:creator>
		<pubDate>Tue, 22 Dec 2009 13:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-1037</guid>
		<description>Just in time before I take my certification exam. Good article/tutorial. Thanks!</description>
		<content:encoded><![CDATA[<p>Just in time before I take my certification exam. Good article/tutorial. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CertPal</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-905</link>
		<dc:creator>CertPal</dc:creator>
		<pubDate>Wed, 11 Nov 2009 05:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-905</guid>
		<description>&lt;a href=&quot;#comment-900&quot; rel=&quot;nofollow&quot;&gt;@Luciano &lt;/a&gt; 
I am glad you found it useful. Thank you for leaving your thoughts here</description>
		<content:encoded><![CDATA[<p><a href="#comment-900" rel="nofollow">@Luciano </a><br />
I am glad you found it useful. Thank you for leaving your thoughts here</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luciano</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-900</link>
		<dc:creator>Luciano</dc:creator>
		<pubDate>Wed, 11 Nov 2009 01:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-900</guid>
		<description>Very Useful!

I didn&#039;t found any other reference instead of the Java API.

Congrat&#039;s</description>
		<content:encoded><![CDATA[<p>Very Useful!</p>
<p>I didn&#8217;t found any other reference instead of the Java API.</p>
<p>Congrat&#8217;s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CertPal</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-496</link>
		<dc:creator>CertPal</dc:creator>
		<pubDate>Fri, 30 Oct 2009 07:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-496</guid>
		<description>&lt;a href=&quot;#comment-90&quot; rel=&quot;nofollow&quot;&gt;@Yousuff &lt;/a&gt; 
Thanks Yousuff.

&lt;a href=&quot;#comment-492&quot; rel=&quot;nofollow&quot;&gt;@Sonika &lt;/a&gt; 
I am glad you found it useful. Thank you for leaving a comment</description>
		<content:encoded><![CDATA[<p><a href="#comment-90" rel="nofollow">@Yousuff </a><br />
Thanks Yousuff.</p>
<p><a href="#comment-492" rel="nofollow">@Sonika </a><br />
I am glad you found it useful. Thank you for leaving a comment</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sonika</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-492</link>
		<dc:creator>Sonika</dc:creator>
		<pubDate>Fri, 30 Oct 2009 06:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-492</guid>
		<description>Good post.
This article helped me a lot to understand the facts of Console class and that too very easily.
Thanks a lot!!!</description>
		<content:encoded><![CDATA[<p>Good post.<br />
This article helped me a lot to understand the facts of Console class and that too very easily.<br />
Thanks a lot!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yousuff</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-90</link>
		<dc:creator>Yousuff</dc:creator>
		<pubDate>Sun, 06 Sep 2009 12:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-90</guid>
		<description>It very good article which never came across before. Good job...

Your blog is informative and good to spend :)</description>
		<content:encoded><![CDATA[<p>It very good article which never came across before. Good job&#8230;</p>
<p>Your blog is informative and good to spend <img src='http://www.certpal.com/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CertPal</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-25</link>
		<dc:creator>CertPal</dc:creator>
		<pubDate>Mon, 24 Aug 2009 15:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-25</guid>
		<description>&lt;a href=&quot;#comment-24&quot; rel=&quot;nofollow&quot;&gt;@James &lt;/a&gt; 
&lt;a href=&quot;#comment-5&quot; rel=&quot;nofollow&quot;&gt;@Monu &lt;/a&gt; 

ah ! a good point. You should still be able to sniff the heap data. I have to agree that getting rid of the reference as soon as possible is a good idea.</description>
		<content:encoded><![CDATA[<p><a href="#comment-24" rel="nofollow">@James </a><br />
<a href="#comment-5" rel="nofollow">@Monu </a> </p>
<p>ah ! a good point. You should still be able to sniff the heap data. I have to agree that getting rid of the reference as soon as possible is a good idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-24</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 24 Aug 2009 15:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-24</guid>
		<description>You are right. Strings are immutable and they remain in the heap until the garbage collector takes over. And when they are in the heap, they can be read by some profiling tools and heap analyzers. 

However this is a great post. Thanks for putting this up.</description>
		<content:encoded><![CDATA[<p>You are right. Strings are immutable and they remain in the heap until the garbage collector takes over. And when they are in the heap, they can be read by some profiling tools and heap analyzers. </p>
<p>However this is a great post. Thanks for putting this up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monu</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-5</link>
		<dc:creator>Monu</dc:creator>
		<pubDate>Thu, 20 Aug 2009 12:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-5</guid>
		<description>You are right, the string returned by readLine() might not go to the constant string pool. However, it remains in heap. 

There is a little security note in the description of the Console class that reads:

If an application needs to read a password or other secure data, it should use readPassword() or readPassword(String, Object...) and manually zero the returned character array after processing to minimize the lifetime of sensitive data in memory.

What I said was based on the above statement-perhaps too much thinking and assumptions.</description>
		<content:encoded><![CDATA[<p>You are right, the string returned by readLine() might not go to the constant string pool. However, it remains in heap. </p>
<p>There is a little security note in the description of the Console class that reads:</p>
<p>If an application needs to read a password or other secure data, it should use readPassword() or readPassword(String, Object&#8230;) and manually zero the returned character array after processing to minimize the lifetime of sensitive data in memory.</p>
<p>What I said was based on the above statement-perhaps too much thinking and assumptions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CertPal</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-3</link>
		<dc:creator>CertPal</dc:creator>
		<pubDate>Thu, 20 Aug 2009 04:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-3</guid>
		<description>&lt;a href=&quot;#comment-2&quot; rel=&quot;nofollow&quot;&gt;@Monu &lt;/a&gt; 
You are welcome.

I am not sure if readLine() sends Strings to a pool, and even if it did, it is not necessarily any safer. I am not aware of a scenario where an outsider would be allowed to read java&#039;s internal String pool. 

Thanks for sharing your thoughts</description>
		<content:encoded><![CDATA[<p><a href="#comment-2" rel="nofollow">@Monu </a><br />
You are welcome.</p>
<p>I am not sure if readLine() sends Strings to a pool, and even if it did, it is not necessarily any safer. I am not aware of a scenario where an outsider would be allowed to read java&#8217;s internal String pool. </p>
<p>Thanks for sharing your thoughts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monu</title>
		<link>http://www.certpal.com/blogs/2009/08/java-console/comment-page-1/#comment-2</link>
		<dc:creator>Monu</dc:creator>
		<pubDate>Thu, 20 Aug 2009 04:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.certpal.com/blogs/?p=8#comment-2</guid>
		<description>Hi,

First of all, thanks for this post. 

BTW, you can also mention the fact that since readPassword returns a char array and not a string(like readLine) the password will not be pooled and hence it is considered a safer method than readLine().</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First of all, thanks for this post. </p>
<p>BTW, you can also mention the fact that since readPassword returns a char array and not a string(like readLine) the password will not be pooled and hence it is considered a safer method than readLine().</p>
]]></content:encoded>
	</item>
</channel>
</rss>

