<?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 for Java tutorial for beginners, Java projects and Java sample programs, J2EE Projects, Java web application development, application servers and Java Frameworks</title>
	<atom:link href="http://www.deknight.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.deknight.com</link>
	<description>Java ORM frameworks like Hibernate and iBatis, Persistent frameworks and EJB Java WebService development tutorial, Programming in Hadoop, Hbase and Cassandra. Learn Java Quickly- Advanced Java,JSP,JSF,JSTL,Servlets,JDBC,EJB,Web Services,Spring MVC,Spring Validator framework, Spring Dependency injection, Spring IoC or Inversion of Control and Java build tools like ANT, Maven etc.</description>
	<lastBuildDate>Thu, 26 Apr 2012 19:54:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Comment on How to generate unique alphanumeric code in java by jaisonpjohn</title>
		<link>http://www.deknight.com/java/how-to-generate-unique-alphanumeric-code-in-java.html#comment-122</link>
		<dc:creator>jaisonpjohn</dc:creator>
		<pubDate>Thu, 26 Apr 2012 19:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=53#comment-122</guid>
		<description>Or you can implement the String Length check while generating the Alphanumeric code itself. So, your Generate alphanumeric method will be some thing like this.
&lt;pre class=&quot;brush: java; gutter: true&quot;&gt;	//Java code to generate 8 or 9 digit alphanumeric code
	private String generateAuthCode() {
		System.out.println(&quot;Entering generateAuthCode()&quot;);
		//getting the current time in milliseconds
		Date date=new Date();
		long decimalNumber=date.getTime();
		System.out.println(&quot;current time in milliseconds: &quot;+decimalNumber);

		//To convert time stamp to alphanumeric code.
		//We need to convert base10(decimal) to base36
		String strBaseDigits = &quot;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;;
		String strTempVal = &quot;&quot;;
        int mod = 0;
        int authCodeLength = 0;
        // String concat is costly, instead we could have use stringbuffer or stringbuilder
        //but here it wont make much difference.
        while (decimalNumber != 0&amp;&amp;authCodeLength&lt;8) {
            mod=(int) (decimalNumber % 36);
            strTempVal=strBaseDigits.substring(mod,mod+1)+strTempVal;
            decimalNumber=decimalNumber/36;
            authCodeLength++;
        }
        System.out.println(&quot;alphanumeric code generated from TimeStamp : &quot;+strTempVal);
        return strTempVal;

}&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Or you can implement the String Length check while generating the Alphanumeric code itself. So, your Generate alphanumeric method will be some thing like this.</p>
<pre class="brush: java; gutter: true">	//Java code to generate 8 or 9 digit alphanumeric code
	private String generateAuthCode() {
		System.out.println(&quot;Entering generateAuthCode()&quot;);
		//getting the current time in milliseconds
		Date date=new Date();
		long decimalNumber=date.getTime();
		System.out.println(&quot;current time in milliseconds: &quot;+decimalNumber);

		//To convert time stamp to alphanumeric code.
		//We need to convert base10(decimal) to base36
		String strBaseDigits = &quot;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;;
		String strTempVal = &quot;&quot;;
        int mod = 0;
        int authCodeLength = 0;
        // String concat is costly, instead we could have use stringbuffer or stringbuilder
        //but here it wont make much difference.
        while (decimalNumber != 0&amp;&amp;authCodeLength&lt;8) {
            mod=(int) (decimalNumber % 36);
            strTempVal=strBaseDigits.substring(mod,mod+1)+strTempVal;
            decimalNumber=decimalNumber/36;
            authCodeLength++;
        }
        System.out.println(&quot;alphanumeric code generated from TimeStamp : &quot;+strTempVal);
        return strTempVal;

}</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to generate unique alphanumeric code in java by Daphne</title>
		<link>http://www.deknight.com/java/how-to-generate-unique-alphanumeric-code-in-java.html#comment-121</link>
		<dc:creator>Daphne</dc:creator>
		<pubDate>Thu, 26 Apr 2012 15:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=53#comment-121</guid>
		<description>I like your algorithm for generating unique alphanumeric code using Java code, please keep the good and creative ideas coming guys. Its a nice Java Tutorial indeed</description>
		<content:encoded><![CDATA[<p>I like your algorithm for generating unique alphanumeric code using Java code, please keep the good and creative ideas coming guys. Its a nice Java Tutorial indeed</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring Interview Questions by Clecira</title>
		<link>http://www.deknight.com/java/spring-interview-questions-top10.html#comment-120</link>
		<dc:creator>Clecira</dc:creator>
		<pubDate>Thu, 26 Apr 2012 11:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=74#comment-120</guid>
		<description>I like your information about the spring interview questions. I am always looking for this type of interesting and good questions as I am preparing for Spring interview.</description>
		<content:encoded><![CDATA[<p>I like your information about the spring interview questions. I am always looking for this type of interesting and good questions as I am preparing for Spring interview.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring Interview Questions by alex goad</title>
		<link>http://www.deknight.com/java/spring-interview-questions-top10.html#comment-119</link>
		<dc:creator>alex goad</dc:creator>
		<pubDate>Wed, 25 Apr 2012 22:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=74#comment-119</guid>
		<description>This Spring Interview Questions are very basic and we can get it from almost every Spring tutorial sites, Can you put together some advanced Spring Interview Tutorials, Thanks in advance.</description>
		<content:encoded><![CDATA[<p>This Spring Interview Questions are very basic and we can get it from almost every Spring tutorial sites, Can you put together some advanced Spring Interview Tutorials, Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring Interview Questions by Arlete</title>
		<link>http://www.deknight.com/java/spring-interview-questions-top10.html#comment-118</link>
		<dc:creator>Arlete</dc:creator>
		<pubDate>Wed, 25 Apr 2012 12:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=74#comment-118</guid>
		<description>Its quite interesting, I gotta love this one. Please Share how to start a spring project. I may have to face basic Spring concept questions when I am attending Java Spring Interviews</description>
		<content:encoded><![CDATA[<p>Its quite interesting, I gotta love this one. Please Share how to start a spring project. I may have to face basic Spring concept questions when I am attending Java Spring Interviews</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring Interview Questions by Isa Maria</title>
		<link>http://www.deknight.com/java/spring-interview-questions-top10.html#comment-52</link>
		<dc:creator>Isa Maria</dc:creator>
		<pubDate>Wed, 28 Mar 2012 10:36:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=74#comment-52</guid>
		<description>After reading your blog post I browsed your website a bit and noticed you aren’t ranking nearly as well in Google as you could be. Keep up the quality posts</description>
		<content:encoded><![CDATA[<p>After reading your blog post I browsed your website a bit and noticed you aren’t ranking nearly as well in Google as you could be. Keep up the quality posts</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring Interview Questions by Chaiane</title>
		<link>http://www.deknight.com/java/spring-interview-questions-top10.html#comment-44</link>
		<dc:creator>Chaiane</dc:creator>
		<pubDate>Fri, 23 Mar 2012 16:26:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=74#comment-44</guid>
		<description>thanks for this information. Nice Tutorial!!</description>
		<content:encoded><![CDATA[<p>thanks for this information. Nice Tutorial!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Garbage Collection or Memory DeAllocation in Java by garbage disposal</title>
		<link>http://www.deknight.com/java/garbage-collection-memory-deallocation-in-java.html#comment-19</link>
		<dc:creator>garbage disposal</dc:creator>
		<pubDate>Thu, 02 Feb 2012 12:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=26#comment-19</guid>
		<description>Hey There Deknight,
I know what you mean, A single of the beauties of working with Java programming language is that the programmers desire not be troubled about the memory allocation and freeing of objects. We simply just declare and initialize objects and JVM (Java Virtual Machine) will consider care of freeing them when they are no for a longer time in use by any app through a mechanism called &#039;garbage collection&#039;. Prior to when we commence our issue, let us check out how the memory is allotted for the objects.
Keep up the good work</description>
		<content:encoded><![CDATA[<p>Hey There Deknight,<br />
I know what you mean, A single of the beauties of working with Java programming language is that the programmers desire not be troubled about the memory allocation and freeing of objects. We simply just declare and initialize objects and JVM (Java Virtual Machine) will consider care of freeing them when they are no for a longer time in use by any app through a mechanism called &#8216;garbage collection&#8217;. Prior to when we commence our issue, let us check out how the memory is allotted for the objects.<br />
Keep up the good work</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What are JEE containers? by James</title>
		<link>http://www.deknight.com/java/java-jee-containers-what-are-jee-containers.html#comment-4</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sun, 16 Oct 2011 17:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.deknight.com/?p=20#comment-4</guid>
		<description>These JEE containers are present in WebLogic and WAS Java Application servers also? I am little bit confused..Can you please describe its functionality.. Thanks</description>
		<content:encoded><![CDATA[<p>These JEE containers are present in WebLogic and WAS Java Application servers also? I am little bit confused..Can you please describe its functionality.. Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

