<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Abhijeeti&#039;s Blog</title>
	<atom:link href="http://abhijeeti.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://abhijeeti.wordpress.com</link>
	<description>Dream as if you&#039;ll live forever, live as if you&#039;ll die today.</description>
	<lastBuildDate>Sun, 27 Mar 2011 04:19:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='abhijeeti.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/3b38c7ef594e77acf5a732eaeb1357ed?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Abhijeeti&#039;s Blog</title>
		<link>http://abhijeeti.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://abhijeeti.wordpress.com/osd.xml" title="Abhijeeti&#039;s Blog" />
	<atom:link rel='hub' href='http://abhijeeti.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Happy New Year! Best Wishes for 2011!</title>
		<link>http://abhijeeti.wordpress.com/2011/01/02/happy-new-year-best-wishes-for-2011/</link>
		<comments>http://abhijeeti.wordpress.com/2011/01/02/happy-new-year-best-wishes-for-2011/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 09:07:47 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://abhijeetiraj.com/?p=205</guid>
		<description><![CDATA[&#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=205&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://abhijeeti.files.wordpress.com/2011/01/2011.png"><img class="alignleft size-full wp-image-206" title="2011" src="http://abhijeeti.files.wordpress.com/2011/01/2011.png?w=600&#038;h=521" alt="" width="600" height="521" /></a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/205/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=205&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2011/01/02/happy-new-year-best-wishes-for-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2011/01/2011.png" medium="image">
			<media:title type="html">2011</media:title>
		</media:content>
	</item>
		<item>
		<title>2010 in review</title>
		<link>http://abhijeeti.wordpress.com/2011/01/02/2010-in-review/</link>
		<comments>http://abhijeeti.wordpress.com/2011/01/02/2010-in-review/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 08:58:11 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://abhijeetiraj.com/?p=199</guid>
		<description><![CDATA[The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here&#8217;s a high level summary of its overall blog health: The Blog-Health-o-Meter™ reads This blog is doing awesome!. Crunchy numbers A Boeing 747-400 passenger jet can hold 416 passengers. This blog was viewed about 1,900 times in 2010. That&#8217;s about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=199&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here&#8217;s a high level summary of its overall blog health:</p>
<p><img style="border:1px solid #ddd;background:#f5f5f5;padding:20px;" src="http://s0.wp.com/i/annual-recap/meter-healthy2.gif" alt="Healthy blog!" width="250" height="183" /></p>
<p>The <em>Blog-Health-o-Meter™</em> reads This blog is doing awesome!.</p>
<h2>Crunchy numbers</h2>
<p><a href="http://abhijeeti.files.wordpress.com/2009/08/magnetic-card.jpg"><img style="max-height:230px;float:right;border:1px solid #ddd;background:#fff;margin:0 0 1em 1em;padding:6px;" src="http://abhijeeti.files.wordpress.com/2009/08/magnetic-card.jpg?w=288" alt="Featured image" /></a></p>
<p>A Boeing 747-400 passenger jet can hold 416 passengers.  This blog was viewed about <strong>1,900</strong> times in 2010.  That&#8217;s about 5 full 747s.</p>
<p>In 2010, there were <strong>2</strong> new posts, growing the total archive of this blog to 16 posts. There was <strong>1</strong> picture uploaded, taking a total of 70kb.</p>
<p>The busiest day of the year was January 5th with <strong>65</strong> views. The most popular post that day was <a style="color:#08c;" href="http://abhijeetiraj.com/2009/08/23/card-reader/">Card Reader</a>.</p>
<h2>Where did they come from?</h2>
<p>The top referring sites in 2010 were <strong>linkedin.com</strong>, <strong>google.com</strong>, <strong>ayumilove.wordpress.com</strong>, <strong>en.wordpress.com</strong>, and <strong>orkut.co.in</strong>.</p>
<p>Some visitors came searching, mostly for <strong>animation movies</strong>, <strong>throbber generator</strong>, <strong>cash acceptor</strong>, <strong>scwcd logo</strong>, and <strong>credit card magnetic strip</strong>.</p>
<h2>Attractions in 2010</h2>
<p>These are the posts and pages that got the most views in 2010.</p>
<ol>
<li><a style="margin-right:10px;" href="http://abhijeetiraj.com/2009/08/23/card-reader/">Card Reader</a> <span style="color:#999;font-size:8pt;">August 2009</span></li>
<li><a style="margin-right:10px;" href="http://abhijeetiraj.com/2009/08/29/mei-cash-acceptor-with-bunch-note-feeder/">MEI Cash Acceptor with Bunch Note Feeder</a> <span style="color:#999;font-size:8pt;">August 2009</span></li>
<li><a style="margin-right:10px;" href="http://abhijeetiraj.com/2009/09/24/session-tracking-in-swing-applications/">Session Tracking In Swing Applications</a> <span style="color:#999;font-size:8pt;">September 2009</span></li>
<li><a style="margin-right:10px;" href="http://abhijeetiraj.com/2009/09/02/spring-mvc-web-portal/">Spring MVC Web Portal</a> <span style="color:#999;font-size:8pt;">September 2009</span></li>
<li><a style="margin-right:10px;" href="http://abhijeetiraj.com/2009/08/26/pixar-movies/">Pixar Movies </a> <span style="color:#999;font-size:8pt;">August 2009</span></li>
</ol>
<p><span style="color:#999;font-size:8pt;"> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=199&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2011/01/02/2010-in-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/i/annual-recap/meter-healthy2.gif" medium="image">
			<media:title type="html">Healthy blog!</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/08/magnetic-card.jpg?w=288" medium="image">
			<media:title type="html">Featured image</media:title>
		</media:content>
	</item>
		<item>
		<title>Cloud Computing</title>
		<link>http://abhijeeti.wordpress.com/2010/11/17/cloud-computing/</link>
		<comments>http://abhijeeti.wordpress.com/2010/11/17/cloud-computing/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 13:40:31 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://abhijeetiraj.com/?p=187</guid>
		<description><![CDATA[What &#8220;Cloud&#8221; means in cloud computing? Cloud is a massive network of computers and servers that are accessible via internet. I am not going to explain it in detail here since there are lot of good resources on internet (or you can say on cloud). Book: Here is the easy reading for Beginners. This book [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=187&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What &#8220;Cloud&#8221; means in cloud computing?</p>
<p>Cloud is a massive network of computers and servers that are accessible via internet. I am not going to explain it in detail here since there are lot of good resources on internet (or you can say on cloud).</p>
<p><strong>Book: </strong></p>
<p>Here is the easy reading for Beginners. This book also has kindle edition.</p>
<p><a href="http://www.amazon.com/Cloud-Computing-Web-Based-Applications-Collaborate/dp/0789738031">Cloud Computing: Web-Based Applications That Change the Way You Work and Collaborate Online</a></p>
<p style="text-align:center;"><a href="http://www.amazon.com/Cloud-Computing-Web-Based-Applications-Collaborate/dp/0789738031"><img class="size-full wp-image-188 aligncenter" title="cloud" src="http://abhijeeti.files.wordpress.com/2010/11/cloud.jpg?w=600" alt=""   /></a></p>
<p><strong>Video: </strong></p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='600' height='368' src='http://www.youtube.com/embed/bRi4vPO4DYY?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span>
<p><strong>Qwiki</strong>: (Don&#8217;t know qwiki? checkout its cool! )</p>
<p><a href="http://www.qwiki.com/q/#Cloud_computing">http://www.qwiki.com/q/#Cloud_computing</a></p>
<p><strong>Application on cloud:</strong></p>
<p><a href="http://docs.google.com/">http://docs.google.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=187&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2010/11/17/cloud-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2010/11/cloud.jpg" medium="image">
			<media:title type="html">cloud</media:title>
		</media:content>
	</item>
		<item>
		<title>Gource &#8211; software version control visualization tool</title>
		<link>http://abhijeeti.wordpress.com/2010/03/22/gource-software-version-control-visualization-tool/</link>
		<comments>http://abhijeeti.wordpress.com/2010/03/22/gource-software-version-control-visualization-tool/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 02:24:24 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gource]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[version control]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://abhijeetiraj.com/?p=171</guid>
		<description><![CDATA[Recently i came across this really cool tool called gource. Its a software version control visualization tool. Gource displays your project as an animated tree with the root directory of the project at its centre. Directories appear as branches with files as leaves. Developers can be seen working on the tree at the times they [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=171&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently i came across this really cool tool called <a href="http://code.google.com/p/gource/">gource</a>. Its a software version control visualization tool.</p>
<div id="_mcePaste">Gource displays your project as an animated tree with the root directory of the project at its centre. Directories appear as branches with files as leaves. Developers can be seen working on the tree at the times they contributed to the project.</div>
<p><div><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='600' height='368' src='http://www.youtube.com/embed/NjUuAuBcoqs?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span></div>
<p><div>Currently there is first party support for Git and Mercurial, and third party (using additional steps) for CVS and SVN.</div>
<p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=171&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2010/03/22/gource-software-version-control-visualization-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>
	</item>
		<item>
		<title>Session Tracking In Swing Applications</title>
		<link>http://abhijeeti.wordpress.com/2009/09/24/session-tracking-in-swing-applications/</link>
		<comments>http://abhijeeti.wordpress.com/2009/09/24/session-tracking-in-swing-applications/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 12:07:33 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Swing]]></category>
		<category><![CDATA[session tracking]]></category>
		<category><![CDATA[swing timer]]></category>

		<guid isPermaLink="false">http://abhijeetiraj.com/?p=162</guid>
		<description><![CDATA[Session handling is pretty common in web applications. Java Servlet technology provides an API for managing sessions and allows several mechanisms for implementing sessions.  But if you have swing application and want to track the session how to do that? Here is the scenario &#8211; Suppose you have a swing based kiosk application. User logs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=162&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Session handling is pretty common in web applications. Java Servlet technology provides an API for managing sessions and allows several mechanisms for implementing sessions.  But if you have swing application and want to track the session how to do that?</p>
<p>Here is the scenario &#8211; Suppose you have a swing based kiosk application. User logs in to the application and does some operations.  Now for some reason he doesn&#8217;t perform any operation for 3-4 minutes then for security reasons we need to somehow log out from the swing application.</p>
<p>This can be achieved with the help of Swing timers and AWT default toolkit.</p>
<p>Here are the steps</p>
<ol></ol>
<ul>
<li>When user logs in start the swing timer by passing SESSION_TIMEOUT value and ActionListener (to handle timeout event).</li>
<li>Add AWTEventListener to AWT toolkit with AWTEvent.MOUSE_EVENT_MASK and AWTEvent.KEY_EVENT_MASK. This will track only mouse events and key events.</li>
<li>Whenever AWT event occurs (that means user performed some action) restart the timer.</li>
<li>When the system is idle for SESSION_TIMEOUT time, timer will call actionPerformed method of its ActionListener.It means session timeout occured and you need to logout.</li>
</ul>
<ol></ol>
<pre>import java.awt.AWTEvent;
import java.awt.Toolkit;
import java.awt.event.AWTEventListener;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.Timer;

/**
 * @author airaj
 *
 */
public class SystemTimeoutClient implements AWTEventListener, ActionListener
{
    private int SESSION_TIMEOUT = 240000; // 4 minutes
    private static SystemTimeoutClient client = null;
    private Timer timer;

    private SystemTimeoutClient()
    {
    }

    public static SystemTimeoutClient getSystemTimeoutClient()
    {
        if (client == null)
        {
            client = new SystemTimeoutClient();
        }
        return client;
    }

    public void trackSessionTimeout()
    {
        timer = new Timer(SESSION_TIMEOUT, this);
        timer.setInitialDelay(SESSION_TIMEOUT);
        timer.setRepeats(false);
        timer.start();
        trackSystemEvents();
    }

    public void stopSessionTracking()
    {
        if (timer.isRunning())
        {
            timer.stop();
        }
    }

    private void trackSystemEvents()
    {
        Toolkit.getDefaultToolkit().addAWTEventListener(this, AWTEvent.MOUSE_EVENT_MASK + AWTEvent.KEY_EVENT_MASK);
    }

    @Override
    public void eventDispatched(AWTEvent event)
    {
        // User action detected. Restart the timer
        if (timer.isRunning())
        {
            timer.restart();
        }
    }

    @Override
    public void actionPerformed(ActionEvent e)
    {
        // Session Timeout occured. Close resources and log out from system. 

    }
}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=162&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2009/09/24/session-tracking-in-swing-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>
	</item>
		<item>
		<title>Gmail as free online file storage</title>
		<link>http://abhijeeti.wordpress.com/2009/09/08/gmail-as-free-online-file-storage/</link>
		<comments>http://abhijeeti.wordpress.com/2009/09/08/gmail-as-free-online-file-storage/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 09:35:07 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[GMail drive]]></category>
		<category><![CDATA[online storage]]></category>

		<guid isPermaLink="false">http://abhijeetiraj.com/?p=149</guid>
		<description><![CDATA[If you want free online file storage then you can use  GMail Drive. It creates a virtual file system around your Google GMail account, allowing you to use GMail as a storage medium. It enables you to save and retrieve files stored on your GMail account directly from inside Windows Explorer. It adds a new [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=149&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want free online file storage then you can use  <a href="http://www.viksoe.dk/code/gmail.htm">GMail Drive.</a> It creates a virtual file system around your Google GMail account, allowing you to use GMail as a storage medium. It enables you to save and retrieve files stored on your GMail account directly from inside Windows Explorer. It adds a new drive to your computer under the My Computer folder, where you can  copy and drag n drop files.</p>
<p>Here are the steps you can follow</p>
<ul>
<li>Create one Gmail account for your storage. You can use your existing Gmail account but its better to have separate account for your online file storage.</li>
</ul>
<ul>
<li>Download and install GMail drive shell extension from <a href="http://www.viksoe.dk/code/gmail.htm">here</a></li>
</ul>
<ul>
<li>After installation you will see new <strong>GMail Drive</strong></li>
</ul>
<p><img class="aligncenter size-full wp-image-151" title="GMailDrive" src="http://abhijeeti.files.wordpress.com/2009/09/gmaildrive1.jpg?w=600&#038;h=416" alt="GMailDrive" width="600" height="416" /></p>
<ul>
<li>Double click on <strong>GMail Drive</strong> it will prompt for your GMail credentials</li>
</ul>
<p><img class="aligncenter size-full wp-image-152" title="GMailDriveLogin" src="http://abhijeeti.files.wordpress.com/2009/09/gmaildrivelogin.jpg?w=600" alt="GMailDriveLogin"   /></p>
<ul>
<li>After login you can copy files which you want to store into your new GMail drive.<img class="aligncenter size-full wp-image-153" title="GMailDriveCopy" src="http://abhijeeti.files.wordpress.com/2009/09/gmaildrivecopy.jpg?w=600" alt="GMailDriveCopy"   /></li>
</ul>
<ul>
<li>Now if you want to  access your files from some other machine you can setup GMail Drive and  you will have access to all those files.</li>
</ul>
<p><img class="aligncenter size-full wp-image-154" title="GMailDriveAccess" src="http://abhijeeti.files.wordpress.com/2009/09/gmaildriveaccess.jpg?w=600&#038;h=448" alt="GMailDriveAccess" width="600" height="448" /></p>
<ul>
<li>You can also access those files from your GMail account. Login to your account and you will see a separate message for each one of your file as an attachment.</li>
</ul>
<p><img class="aligncenter size-full wp-image-158" title="GMailDriveAccount" src="http://abhijeeti.files.wordpress.com/2009/09/gmaildriveaccount1.jpg?w=600&#038;h=206" alt="GMailDriveAccount" width="600" height="206" /></p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:0;width:1px;height:1px;"><a href="http://www.viksoe.dk/code/gmail.htm">http://www.viksoe.dk/code/gmail.htm</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/149/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=149&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2009/09/08/gmail-as-free-online-file-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/09/gmaildrive1.jpg" medium="image">
			<media:title type="html">GMailDrive</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/09/gmaildrivelogin.jpg" medium="image">
			<media:title type="html">GMailDriveLogin</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/09/gmaildrivecopy.jpg" medium="image">
			<media:title type="html">GMailDriveCopy</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/09/gmaildriveaccess.jpg" medium="image">
			<media:title type="html">GMailDriveAccess</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/09/gmaildriveaccount1.jpg" medium="image">
			<media:title type="html">GMailDriveAccount</media:title>
		</media:content>
	</item>
		<item>
		<title>abhijeetiraj.com as primary domain</title>
		<link>http://abhijeeti.wordpress.com/2009/09/06/abhijeetiraj-com-as-primary-domain/</link>
		<comments>http://abhijeeti.wordpress.com/2009/09/06/abhijeetiraj-com-as-primary-domain/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 08:38:20 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress domain]]></category>

		<guid isPermaLink="false">http://abhijeetiraj.com/?p=138</guid>
		<description><![CDATA[I recently changed my primary domain for my blog to http://abhijeetiraj.com . It was really easy to do this change from wordpress&#8217;s Domain setting section. If you do not have domain you can register new one from wordpress $14.97  per year. Check here for more information.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=138&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently changed my primary domain for my blog to <a href="http://abhijeetiraj.com">http://abhijeetiraj.com</a> . It was really easy to do this change from wordpress&#8217;s Domain setting section.</p>
<p>If you do not have domain you can register new one from wordpress $14.97   per year. Check <a href="http://support.wordpress.com/domain-mapping/register-domain/">here</a> for more information.</p>
<p><img class="aligncenter size-full wp-image-139" title="domain" src="http://abhijeeti.files.wordpress.com/2009/09/domain.jpg?w=600&#038;h=409" alt="domain" width="600" height="409" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=138&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2009/09/06/abhijeetiraj-com-as-primary-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/09/domain.jpg" medium="image">
			<media:title type="html">domain</media:title>
		</media:content>
	</item>
		<item>
		<title>Spring MVC Web Portal</title>
		<link>http://abhijeeti.wordpress.com/2009/09/02/spring-mvc-web-portal/</link>
		<comments>http://abhijeeti.wordpress.com/2009/09/02/spring-mvc-web-portal/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 06:46:08 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Spring]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[portal]]></category>

		<guid isPermaLink="false">http://abhijeeti.wordpress.com/?p=122</guid>
		<description><![CDATA[Recently we migrated from Backbase based portal to Spring MVC based portal for our kiosk transaction system. This will evolve as Offline system (see davids post on this here). We mainly used Spring to build this offline system because it&#8217;s lightweight, easy to use, easy to test and it allows to configure and compose complex [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=122&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently we migrated from Backbase based portal to Spring MVC based portal for our kiosk transaction system. This will evolve as Offline system (see davids post on this <a href="http://tinyurl.com/m2d6rl">here</a>).</p>
<p>We mainly used Spring to build this offline system because it&#8217;s lightweight, easy to use,  easy to test and it allows to configure and compose complex application from simpler components.</p>
<p><img class="aligncenter size-full wp-image-123" title="portal" src="http://abhijeeti.files.wordpress.com/2009/09/portal.jpg?w=600&#038;h=451" alt="portal" width="600" height="451" /></p>
<p>Here is the technology stack which we are using to build this offline system</p>
<ul>
<li><a href="http://www.springsource.org/">Spring MVC:</a><strong> </strong>Part of spring and MVC  based Framework for building robust web applications</li>
</ul>
<ul>
<li><a href="http://www.springsource.org/webflow">Spring Webflow</a>: Built on Spring MVC and provides the infrastructure for building and running rich web application.</li>
</ul>
<ul>
<li><a href="http://jquery.com/">JQuery</a>: Fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.</li>
</ul>
<ul>
<li><a href="http://www.blueprintcss.org/">Blueprintcss:</a> CSS framework which aims to cut down on your development time.</li>
</ul>
<ul>
<li><a href="http://code.google.com/p/jmesa/">JMesa:</a> Dynamic HTML table rendering API/Tag library that allows you to filter, sort, paginate, export and edit your data however you need to.</li>
</ul>
<ul>
<li><a href="http://www.opensymphony.com/sitemesh/">Sitemesh</a>: Web-page layout and decoration framework and web-application integration framework to aid in creating large sites consisting of many pages for which a consistent look/feel, navigation and layout scheme is required.</li>
</ul>
<ul>
<li><a href="https://www.hibernate.org/">Hibernate:</a> Powerful, high performance object/relational persistence and query service.</li>
</ul>
<ul>
<li><a href="http://maven.apache.org/">Maven:</a> Software project build and  management tool.</li>
</ul>
<ul>
<li style="text-align:left;"> <a href="http://www.mysql.com/">MySQL</a>: Most popular open source database.</li>
</ul>
<ul>
<li style="text-align:left;"><a href="http://www.springsource.com/products/sts">SpringSource ToolSuite:</a> Eclipse-powered development environment for building Spring-powered enterprise applications.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=122&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2009/09/02/spring-mvc-web-portal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/09/portal.jpg" medium="image">
			<media:title type="html">portal</media:title>
		</media:content>
	</item>
		<item>
		<title>Swing Event Dispatcher Thread</title>
		<link>http://abhijeeti.wordpress.com/2009/09/01/swing-event-dispatcher-thread/</link>
		<comments>http://abhijeeti.wordpress.com/2009/09/01/swing-event-dispatcher-thread/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 02:13:44 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Swing]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://abhijeeti.wordpress.com/?p=105</guid>
		<description><![CDATA[Even though swing is very important part of the Java platform, truth is that its not thread safe. That means swing component methods called from multiple threads can cause thread interference or memory consistency errors. There are some exceptions to this. There are some swing component methods which are &#8220;thread safe&#8221; which can be safely [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=105&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Even though swing is very important part of the Java platform, truth is that its not thread safe. That means swing component methods called from multiple threads can cause thread interference or memory consistency errors. There are some exceptions to this. There are some swing component methods which are &#8220;thread safe&#8221; which can be safely invoked from any thread.</p>
<p>Reason why swing is not thread safe is that any attempt to create a thread-safe GUI library faces some fundamental problems. For more on this issue, see the following entry in Graham Hamilton&#8217;s blog: <a href="http://weblogs.java.net/blog/kgh/archive/2004/10/multithreaded_t.html" target="_blank">MultiThreaded toolkits: A failed dream?</a></p>
<p>Because of this swing event handling code execution as well as component repaint happens on a special thread known as the event dispatch thread. All the Swing component methods which are not thread safe must be invoked from this event dispatch thread. Programs that ignore this rule may function correctly most of the time, but are subject to unpredictable errors that are difficult to reproduce.</p>
<p><img class="aligncenter size-full wp-image-120" title="EDT" src="http://abhijeeti.files.wordpress.com/2009/09/edt1.jpg?w=600&#038;h=457" alt="EDT" width="600" height="457" /></p>
<p>There are two fundamental things to understand about Swing and threads:</p>
<ol>
<li>Time-consuming tasks should not be run on the Event Dispatch Thread. Otherwise the application becomes unresponsive. The EDT is busy executing your task and hence can’t process GUI events.</li>
<li> Swing components should be accessed on the Event Dispatch Thread only. To access components from other threads, you must use SwingUtilities. invokeAndWait, SwingUtilities. invokeLater or SwingWorker.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=105&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2009/09/01/swing-event-dispatcher-thread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/09/edt1.jpg" medium="image">
			<media:title type="html">EDT</media:title>
		</media:content>
	</item>
		<item>
		<title>MEI Cash Acceptor with Bunch Note Feeder</title>
		<link>http://abhijeeti.wordpress.com/2009/08/29/mei-cash-acceptor-with-bunch-note-feeder/</link>
		<comments>http://abhijeeti.wordpress.com/2009/08/29/mei-cash-acceptor-with-bunch-note-feeder/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 05:32:54 +0000</pubDate>
		<dc:creator>Abhijeet Iraj</dc:creator>
				<category><![CDATA[Devices]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[kiosk]]></category>
		<category><![CDATA[MEI CASHFLOW® SC Series]]></category>

		<guid isPermaLink="false">http://abhijeeti.wordpress.com/?p=86</guid>
		<description><![CDATA[Frankly speaking i had never used cash acceptor in my life since in India that technology is not used much. But recently i got a chance to integrate MEI CASHFLOW® SC Series note acceptor with BNF in our system at work and it was really a nice experience. This is one of the world’s most [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=86&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Frankly speaking i had never used cash acceptor in my life since in India  that technology is not used much. But recently i got a chance to integrate MEI CASHFLOW® SC Series note acceptor with BNF in our system at work  and it was  really a nice experience. This is one of  the world’s most technically advanced cash acceptor.</p>
<p><img class="aligncenter size-full wp-image-90" title="Cash Acceptor" src="http://abhijeeti.files.wordpress.com/2009/08/press_aug03-2009.jpg?w=600" alt="Cash Acceptor"   /></p>
<p>Because of bunch note feeder (BNF) user can deposit cash more efficiently by placing a bundle of up to 30 notes into a BNF.</p>
<p>Before starting integration, one thing which was really important was to change MEI Cash Acceptor from Stand-Alone mode to EBDS mode. In Stand-Alone mode the communication between the SC and API will not work.</p>
<p>Integration using MEI provided java api was straightforward..</p>
<pre>/**
 * @author airaj
 *
 */
public class MEICashAcceptor extends CashAcceptor
                                           implements AcceptorEventListener
{
    // serial port to which device is connected
    private String serialPort = "/dev/ttyS3";

    private Acceptor cashAcceptor = null;

    // connect to the device
    public void connect()
    {
        cashAcceptor = new Acceptor();
        cashAcceptor.addAcceptorEventListener(this);
        Acceptor.listPorts();
        try
        {
            cashAcceptor.open(serialPort, PowerUp.A);
        }
        catch (AcceptorException e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }

    // enable acceptor so that it accepts bills
    public void enable()
    {
        cashAcceptor.setEnableAcceptance(true);
    }

    // disable acceptor so that it stops accepting bills
    public void disable()
    {
        cashAcceptor.setEnableAcceptance(false);
    }

    // This method gets called when any device event occurs
    public void acceptorEventOccurred(AcceptorEvent evt)
    {
        if (evt.getDescription() == null)
        {
            return;
        }
        if (evt instanceof EscrowEvent)
        {
            // Event generated for bill Escrow
            if (DocumentType.Bill.equals(cashAcceptor.getDocType()))
            {
                Bill b = cashAcceptor.getBill();
                try
                {
                    // stack the bill
                    cashAcceptor.escrowStack();
                }
                catch (AcceptorException e)
                {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }
            }
        }
        else if (evt instanceof StackedEvent)
        {
            // Event generated when a document is stacked.
            if (DocumentType.Bill.equals(cashAcceptor.getDocType()))
            {
                Bill bill = cashAcceptor.getBill();
                String country  = bill.getCountry();
                String value = bill.getValue();
            }
        }
        else if (evt instanceof CheatedEvent)
        {
             // Event generated when the device detects a cheat attempt.
        }
        else if (evt instanceof JamDetectedEvent)
        {
            // Event generated when the device detects a jam.
        }
        else if (evt instanceof StackerFullEvent)
        {
            // Event generated when the device stacker is full.
        }
    }

}</pre>
<p>You can view MEI CASHFLOW Bill acceptor with BNF demo <a href="http://www.cashflowbnf.com/">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/abhijeeti.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/abhijeeti.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/abhijeeti.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/abhijeeti.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/abhijeeti.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/abhijeeti.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/abhijeeti.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/abhijeeti.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/abhijeeti.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/abhijeeti.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/abhijeeti.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/abhijeeti.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/abhijeeti.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/abhijeeti.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=abhijeeti.wordpress.com&amp;blog=9130446&amp;post=86&amp;subd=abhijeeti&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://abhijeeti.wordpress.com/2009/08/29/mei-cash-acceptor-with-bunch-note-feeder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c3cd427341c15514f5a23a0b49c8a5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abhijeet</media:title>
		</media:content>

		<media:content url="http://abhijeeti.files.wordpress.com/2009/08/press_aug03-2009.jpg" medium="image">
			<media:title type="html">Cash Acceptor</media:title>
		</media:content>
	</item>
	</channel>
</rss>
