<?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>Stepping Forward</title>
	<atom:link href="http://rajnautiyal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rajnautiyal.wordpress.com</link>
	<description>One may walk over the highest mountain one step at a time.</description>
	<lastBuildDate>Tue, 20 Dec 2011 09:43:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rajnautiyal.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f2e07042460c6d762b5cb1a85b885118?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Stepping Forward</title>
		<link>http://rajnautiyal.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rajnautiyal.wordpress.com/osd.xml" title="Stepping Forward" />
	<atom:link rel='hub' href='http://rajnautiyal.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Free Time Links</title>
		<link>http://rajnautiyal.wordpress.com/2011/12/20/free-time-links/</link>
		<comments>http://rajnautiyal.wordpress.com/2011/12/20/free-time-links/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 06:39:08 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=170</guid>
		<description><![CDATA[http://mashable.com/ http://techcrunch.com/ http://www.dzone.com/links/index.html http://www.killerstartups.com/ http://www.infoq.com/java/ http://india.wsj.com/home-page<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=170&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li><a title="mashable" href="http://mashable.com/">http://mashable.com/</a></li>
<li><a title="techcrunch" href="http://techcrunch.com/">http://techcrunch.com/</a></li>
<li><a href="http://www.dzone.com/links/index.html">http://www.dzone.com/links/index.html</a></li>
<li><a title="killerstartups" href="http://www.killerstartups.com/">http://www.killerstartups.com/</a></li>
<li><a title="infoq" href="http://www.infoq.com/java/">http://www.infoq.com/java/</a></li>
<li><a title="wsj" href="http://india.wsj.com/home-page">http://india.wsj.com/home-page</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=170&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2011/12/20/free-time-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>
	</item>
		<item>
		<title>Difference Between Queues and Topics-JMS</title>
		<link>http://rajnautiyal.wordpress.com/2011/08/28/difference-between-queues-and-topics-jms/</link>
		<comments>http://rajnautiyal.wordpress.com/2011/08/28/difference-between-queues-and-topics-jms/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 06:43:18 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[Jms queues and Jms topic]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=162</guid>
		<description><![CDATA[Queues JMS queues is a staging area that contains messages that have been sent and are waiting to be read. Queue represent PTP domain. A point-to-point (PTP) product or application is built around the concept of message queues, senders, and receivers. Each message is addressed to a specific queue, and receiving clients extract messages from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=162&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2><span style="text-decoration:underline;">Queues</span></h2>
<p>JMS queues is a staging area that contains messages that have been sent and are waiting to be read. Queue represent PTP domain. A point-to-point (PTP) product or application is built around the concept of message queues, senders, and receivers. Each message is addressed to a specific queue, and receiving clients extract messages from the queue(s) established to hold their messages. Queues retain all messages sent to them until the messages are consumed or until the messages expire.There can be more but the message will be received to one of them. It also guarantees delivery of the message, means message will be there in the queue unless it is consumed by someone.</p>
<h2><span style="text-decoration:underline;">TOPICS</span></h2>
<p>Topic represent Publish/Subscibe domain. A distribution mechanism for publishing messages that are delivered to multiple subscriber. In a publish/subscribe (pub/sub) product or application, clients address messages to a topic. Publishers and subscribers are generally anonymous and may dynamically publish or subscribe to the content hierarchy. The system takes care of distributing the messages arriving from a topic&#8217;s multiple publishers to its multiple subscribers. Topics retain messages only as long as it takes to distribute them to current subscribers.</p>
<h3><span style="text-decoration:underline;"><strong>Publish/Subscribe Model</strong></span></h3>
<p>The publish/subscribe model supports publishing messages to a particular message topic. Subscribers may register interest in receiving messages on a particular message topic. In this model, neither the publisher nor the subscriber knows about each other. A good analogy for this is an anonymous bulletin board.</p>
<p>The following are characteristics of this model:</p>
<ol>
<li>Zero or more consumers will receive the message.</li>
<li>There is a timing dependency between publishers and subscribers. The publisher has to create a message topic for clients to subscribe. The subscriber has to remain continuously active to receive messages, unless it has established a durable subscription. In that case, messages published while the subscriber is not connected will be redistributed whenever it reconnects</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=162&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2011/08/28/difference-between-queues-and-topics-jms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>
	</item>
		<item>
		<title>Future of Search Engine Marketing</title>
		<link>http://rajnautiyal.wordpress.com/2010/08/27/future-of-search-engine-marketing/</link>
		<comments>http://rajnautiyal.wordpress.com/2010/08/27/future-of-search-engine-marketing/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 17:16:30 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=152</guid>
		<description><![CDATA[http://www.searchengineoptimizationjournal.com/ http://searchengineland.com/ http://www.searchenginejournal.com/ http://googlewebmastercentral.blogspot.com/ http://www.mattcutts.com/blog/ http://www.bing.com/toolbox/blogs/webmaster/default.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=152&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.searchengineoptimizationjournal.com/">http://www.searchengineoptimizationjournal.com/</a><br />
<a href="http://searchengineland.com/">http://searchengineland.com/</a><br />
<a href="http://www.searchenginejournal.com/">http://www.searchenginejournal.com/</a><br />
<a href="http://googlewebmastercentral.blogspot.com/">http://googlewebmastercentral.blogspot.com/</a><br />
<a href="http://www.mattcutts.com/blog/">http://www.mattcutts.com/blog/</a><br />
<a href="http://www.bing.com/toolbox/blogs/webmaster/default.aspx">http://www.bing.com/toolbox/blogs/webmaster/default.aspx </a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=152&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2010/08/27/future-of-search-engine-marketing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>
	</item>
		<item>
		<title>Some Tips To Improve Performance Of Your Web-Application</title>
		<link>http://rajnautiyal.wordpress.com/2010/06/13/some-tips-to-improve-performance-of-your-web-application/</link>
		<comments>http://rajnautiyal.wordpress.com/2010/06/13/some-tips-to-improve-performance-of-your-web-application/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 07:30:40 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[website performance improvment]]></category>
		<category><![CDATA[performace]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=136</guid>
		<description><![CDATA[What Slows your site down? (Most expensive to least) Database write access (read is cheaper) Database read access PHP, ASP, JSP and any other server side scripting Client side JavaScript Multiple/Fat Images, scripts or css files from different domains on your page Slow keep-alive client connections, clogging your available sockets How to make your site [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=136&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#000000;"><br />
</span></p>
<h2><span style="text-decoration:underline;"><strong>What Slows your site down? </strong>(<em>Most expensive to least</em>)</span></h2>
<ol>
<li>Database write access (read is cheaper)</li>
<li>Database read access</li>
<li>PHP, ASP, JSP and any other server side scripting</li>
<li>Client side JavaScript</li>
<li>Multiple/Fat Images, scripts or css files from different domains on your page</li>
<li>Slow keep-alive client connections, clogging your available sockets</li>
</ol>
<h2><span style="text-decoration:underline;"><strong>How to make your site run faster</strong></span></h2>
<ul>
<li>
<h4><span style="text-decoration:underline;"><strong>Database layer</strong></span></h4>
</li>
</ul>
<ol>
<li>Switch all database writes to offline processing.</li>
<li>Minimize number of database read access to the bare minimum. No more than two queries per page.</li>
<li>De-normalize your database and Optimize MySQL tables</li>
<li>Implement MemCached and change your database-access layer to fetch information from the in-memory database first. The least you should do is store all sessions in memory.</li>
<li>If your system has high reads, keep MySQL tables as MyISAM. If your system has high writes, switch MySQL tables to InnoDB. If you need 99.999% availablity &#8211; consider switching to MySQL Cluster storage.</li>
</ol>
<ul>
<li>
<h4><span style="text-decoration:underline;"><strong>Server side scripting</strong></span></h4>
</li>
</ul>
<ol>
<li>Limit server side processing to the minimum.</li>
<li>Short scripts that queue any heavyduty processing to be done offline. Use a caching engine that generates static files from dynamic ones, so that processing only takes place once.</li>
<li>Per-compile all php scripts using eAccelrator. If you&#8217;re using WordPress, implement WP-Cache</li>
</ol>
<ul>
<li>
<h4><span style="text-decoration:underline;"><strong>Front end</strong></span></h4>
</li>
</ul>
<ol>
<li>Reduce size of all images by using an image optimizer, Merge multiple css/js files into one, Minify your .js scripts</li>
<li>Avoid hardlinking to images or scripts residing on other domains.</li>
<li>Put .css references at the top of your page, .js scripts at the bottom.</li>
<li>Install FireFox FireBug and YSlow. YSlow analyze your web pages on the fly, giving you a performance grade and recommending the changes you need to make.</li>
</ol>
<ul>
<li>
<h4><span style="text-decoration:underline;"><strong>Web Server</strong></span></h4>
</li>
</ul>
<ol>
<li>Optimize httpd.conf to kill connections after 5 seconds of inactivity, turn gzip compression on.</li>
<li>Configure Apache to add Expire and ETag headers, allowing client web browsers to cache images, .css and .js files</li>
<li>Consider dumping Apache and replacing it with Lighttpd or Nginx. If you absolutely need to stick with Apache &#8211; upgrade to its latest version.</li>
</ol>
<ul>
<li>
<h4><span style="text-decoration:underline;"><strong>The Results</strong></span></h4>
</li>
</ul>
<ol>
<li>Implementing the steps described above will result in a faster browsing experience for your visitors as well as significantly improved website scalability.</li>
<li>The chart below illustrates heavy load impact on a non optimized machine (linear degradation in performance) vs an optimized machine.</li>
<li>With our non optimized machine, CPU spiked to 90% with 50 concurrent connections. The optimized machine was effectively handling 500 concurrent connections per second with CPU at 8% and no degradation in performance.</li>
</ol>
<div style="padding-top:10px;"><img style="margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/resources/chaticon.gif" alt="" width="16" height="14" /><img style="margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&amp;w=9&amp;h=9" alt="" width="9" height="9" /><a title="Click here to chat with Rajendra Nautiyal" href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr" target="_blank">Chat with Rajendra Nautiyal</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=136&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2010/06/13/some-tips-to-improve-performance-of-your-web-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>

		<media:content url="http://www.google.com/talk/service/resources/chaticon.gif" medium="image" />

		<media:content url="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&#38;w=9&#38;h=9" medium="image" />
	</item>
		<item>
		<title>Get All the Contacts From Gmail Using Google Data Protocol</title>
		<link>http://rajnautiyal.wordpress.com/2010/06/07/get-all-the-contacts-from-gmail-using-google-data-protocol/</link>
		<comments>http://rajnautiyal.wordpress.com/2010/06/07/get-all-the-contacts-from-gmail-using-google-data-protocol/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 16:32:26 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[get gmail contact]]></category>
		<category><![CDATA[using gdata]]></category>
		<category><![CDATA[get all gmail's email]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=117</guid>
		<description><![CDATA[How to Use Google Data Api &#60;html&#62; &#60;head&#62;&#60;title&#62;Get Authentication Token&#60;/title&#62;&#60;/head&#62; &#60;%@ page contentType="text/html;charset=UTF-8" language="java" %&#62; &#60;body&#62; &#60;b&#62;Get the Authentication url from the google : &#60;/b&#62;&#60;a href="token.do"&#62;click Here&#60;/a&#62; &#60;/body&#62; &#60;/html&#62; Here is the general process to acquire an OAuth token for a given user Your registered web application makes a signed request for a request token [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=117&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3><span style="text-decoration:underline;"><strong>How to Use Google Data Api</strong></span></h3>
<pre><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">&lt;html&gt;
 &lt;head&gt;&lt;title&gt;Get Authentication Token&lt;/title&gt;&lt;/head&gt;
 &lt;%@ page contentType="text/html;charset=UTF-8" language="java" %&gt;
 &lt;body&gt;
  	&lt;b&gt;Get the Authentication  url from the google : &lt;/b&gt;&lt;a href="token.do"&gt;click Here&lt;/a&gt;
  &lt;/body&gt;
&lt;/html&gt;

</span></pre>
<h4><span style="text-decoration:underline;">Here is the general process to acquire an OAuth</span><span style="text-decoration:underline;"> token for a given  user</span></h4>
<ol>
<li>Your registered web application makes a signed request for a  request token at Google&#8217;s endpoint, <code>https://www.google.com/accounts/OAuthGetRequestToken</code>.  Depending on the type of HTTP request being made, the required <code>oauth_*</code> query parameters can either be in the body of the request, as part of  the <code>Authorization</code> header, or in the query part of the URL.  In addition to the standard OAuth parameters, you must include a <code>scope</code> query parameter that is appropriate for the Google Data API(s) your  application will interact with.</li>
<li>Your web app sends the user to Google&#8217;s authorization endpoint, <code>https://www.google.com/accounts/OAuthAuthorizeToken</code>,  referencing the request token and including the <code>oauth_callback</code> parameter. Google may prompt the user to log into their Google Account.  Once authenticated with Google, the user chooses to share their data.</li>
<li>The request token is authorized and Google redirects the user back  to the URL you specified in the <code>oauth_callback</code> query  parameter.</li>
<li>Your web app sends a signed request to Google&#8217;s access token  endpoint, <code>https://www.google.com/accounts/OAuthGetAccessToken</code>,  to exchange the authorized request token for an access token.</li>
<li>If the request is verified, Google responds with a valid access  token.</li>
<li>Your web app uses the access token to send signed requests to one  or more of the Google Data APIs. The API(s) your application can  interact with will depend on the value that was set in the initial <code>scope</code> query parameter.</li>
</ol>
<h4><span style="text-decoration:underline;">Code For Getting auth token</span></h4>
<pre>
<pre>
<pre><pre class="brush: css;">
&lt;/pre&gt;
&lt;/pre&gt;
package com.foo.bar;

import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.gdata.client.http.AuthSubUtil;
/**
 *
 * @author RAJENDRA
 * GmailToken class is used to create the authentication token for accessing the gmail account. In this class you have
 * to define your return back action name so after authentication you can return back on your website.
 */
public class GmailToken  extends HttpServlet{

 protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

 String gmailAuthKey=getAuth();
 request.setAttribute(&quot;gmailAuthKey&quot;, gmailAuthKey);
 RequestDispatcher rd = getServletContext().getRequestDispatcher(&quot;/gmailToken.jsp&quot;);
 rd.forward(request, response);
 }

 protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
 doPost(request, response);
 }

 /**
 * The method is used to set the action url , so after authentication you can return back on your main website.
 * getting the token from the gmail
 * @return gmailAuthenticationToken
 */
 private String getAuth() {
 String authSubLogin=new String();
 String next = &quot;http://localhost:8081/Gmail-Contacts/friends.do&quot;;
 String scope = &quot;http://www.google.com/m8/feeds/&quot;;
 boolean secure = false;
 boolean session = true;
 authSubLogin = AuthSubUtil.getRequestUrl(next, scope, secure, session);
 return authSubLogin;
 }

}&lt;/pre&gt;
&lt;pre&gt;
&lt;pre&gt;
&lt;pre&gt;
&lt;pre&gt;</pre>
</pre>
</pre>
</pre>
</pre>
<h4><span style="text-decoration:underline;"> Using Auth Token Access Gmail Api</span></h4>
<pre>
<pre>After a successful authentication request, use the <code>Auth</code> value to create an <code>Authorization</code> header for each request to  the Google Data API:</pre>
</pre>
<pre>Authorization: <strong>GoogleLogin auth=<var>yourAuthToken

</var></strong></pre>
<p>&lt;%@ page contentType="text/html;charset=UTF-8" language="java" %&gt; &lt;html&gt;  	&lt;head&gt;  		&lt;title&gt;  			Validate-the-email  		&lt;/title&gt; 	&lt;/head&gt; 	&lt;body&gt; 		&lt;b&gt;Validate the email id on the google account&lt;/b&gt; 			&lt;a href='&lt;%=request.getAttribute("gmailAuthKey")%&gt; /&gt;'&gt;GMAIL&lt;/a&gt; 	&lt;/body&gt; &lt;/html&gt;  <span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;"> </span> <span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;"> </span></p>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><pre class="brush: css;">
package com.foo.bar;

import java.io.IOException;
import java.net.URL;
import java.security.GeneralSecurityException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.gdata.client.contacts.ContactQuery;
import com.google.gdata.client.contacts.ContactsService;
import com.google.gdata.data.contacts.ContactFeed;
import com.google.gdata.util.ServiceException;
/**
 *
 * @author RAJENDRA
 * The GetAllContact class is used to validate and get all the contact list from your gmail.
 */
public class GetAllContact extends HttpServlet {

	public void doPost(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException {
		String token = req.getParameter(&quot;token&quot;);
		try {
			ContactFeed contactFeed = getContactList(token);
			req.setAttribute(&quot;contactFeed&quot;, contactFeed);
		} catch (GeneralSecurityException e) {
			e.printStackTrace();
		} catch (ServiceException e) {
			e.printStackTrace();
		}
		RequestDispatcher rd = getServletContext().getRequestDispatcher(
				&quot;/showAllContacts.jsp&quot;);
		rd.forward(req, res);
	}

	public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException {
		doPost(req, res);
	}

	/**
	 * In this api we are setting the authentication token for the particular
	 * user and calling the google service
	 * @param token
	 * @return
	 * @throws IOException
	 * @throws GeneralSecurityException
	 * @throws ServiceException
	 */
	public ContactFeed getContactList(String token) throws IOException,GeneralSecurityException, ServiceException {
		ContactFeed contactFeed = null;
		try {
			ContactsService contactsService = new ContactsService(
					&quot;GoogleInc-jsguide-1.0&quot;);
			contactsService.setAuthSubToken(token);
			contactFeed = getAllContacts(contactsService);
		} catch (Exception e) {
			e.printStackTrace();
		} catch (Error error) {
			error.printStackTrace();
		}
		return contactFeed;
	}

	/**
	 * Set other information regarding the email list and get the contact
	 * feed list
	 * @param myService
	 * @throws ServiceException
	 * @throws IOException
	 */
	public ContactFeed getAllContacts(ContactsService myService)
			throws ServiceException, IOException {
		URL feedUrl = new URL(
				&quot;http://www.google.com/m8/feeds/contacts/default/full&quot;);
		ContactQuery contactQuery = new ContactQuery(feedUrl);
		contactQuery.setMaxResults(1000);
		ContactFeed resultFeed = myService.getFeed(contactQuery,
				ContactFeed.class);
		return resultFeed;
	}

}
</pre>
<h4><span style="text-decoration:underline;">Show All The Contacts On Jsp</span></h4>

<span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;%@page import="com.google.gdata.data.contacts.ContactFeed"%&gt;</span> <span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="line-height:19px;white-space:normal;">&lt;html&gt;</span></span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;head&gt;</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;title&gt;</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">Show all the email in my account</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="line-height:19px;white-space:normal;">&lt;/title&gt;</span></span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;/head&gt;</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;%@page import="com.google.gdata.data.contacts.ContactEntry" %&gt;</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;%@page import="com.google.gdata.data.extensions.Email"%&gt;</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;body&gt;</span>&lt;table&gt; <span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;"> </span>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="line-height:19px;white-space:normal;">
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;h1&gt;ALL THE CONTACT FROM YOUR GMAIL CONTACT LIST&lt;h1&gt;</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="line-height:19px;white-space:normal;">&lt;%</span></span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">ContactFeed resultFeed = (ContactFeed)request.getAttribute("contactFeed");</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">for (int i = 0; i &lt; resultFeed.getEntries().size(); i++) {</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;"> ContactEntry entry = resultFeed.getEntries().get(i);</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">  for (Email email : entry.getEmailAddresses()) {</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">       %&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Email add:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;%=email.getAddress()%&gt;&lt;/td&gt;</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;%</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">if (email.getRel() != null) {</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;"> %&gt; </span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;% }</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">if (email.getLabel() != null) {</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;"> %&gt;&lt;td&gt;&lt;b&gt;label&lt;/b&gt;&lt;/td&gt;&lt;td&gt; &lt;%=email.getLabel()%&gt;&lt;/td&gt;&lt;/tr&gt;</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;% }</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">if (email.getPrimary()) {</span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">} </span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">} </span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">}</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="line-height:19px;white-space:normal;">%&gt;</span></span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="line-height:19px;white-space:normal;">&lt;/table&gt;</span></span><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:small;">&lt;/body&gt;</span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">&lt;/html&gt;</pre>
<p></span></span></pre>
<p></span></pre>
<h4><span style="text-decoration:underline;">Access code from the google svn:</span></h4>
<p><strong><a class="alignleft" title="gmailcontact" href="http://gmailcontact.googlecode.com/svn/trunk/" target="_self">http</a></strong><strong><a class="alignleft" title="gmailcontact" href="http://gmailcontact.googlecode.com/svn/trunk/" target="_self">://gmailcontact.googlecode.com/svn/trunk/</a></strong></p>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="line-height:19px;white-space:normal;">
</span></span></pre>
<p></span></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">
</span></pre>
<pre><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><span style="line-height:19px;white-space:normal;">
</span></span></pre>
</pre>
<div style="padding-top:10px;"><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/resources/chaticon.gif" alt="" width="16" height="14" /><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&amp;w=9&amp;h=9" alt="" width="9" height="9" /><a title="Click here to chat with Rajendra Nautiyal" href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr" target="_blank">Chat with Rajendra Nautiyal</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=117&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2010/06/07/get-all-the-contacts-from-gmail-using-google-data-protocol/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>

		<media:content url="http://www.google.com/talk/service/resources/chaticon.gif" medium="image" />

		<media:content url="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&#38;w=9&#38;h=9" medium="image" />
	</item>
		<item>
		<title>Installation of mysql on the linux machine</title>
		<link>http://rajnautiyal.wordpress.com/2010/05/25/installation-of-mysql-on-the-linux-system/</link>
		<comments>http://rajnautiyal.wordpress.com/2010/05/25/installation-of-mysql-on-the-linux-system/#comments</comments>
		<pubDate>Tue, 25 May 2010 07:49:43 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[command to install mysql]]></category>
		<category><![CDATA[mysql installation on linux]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=104</guid>
		<description><![CDATA[Many time I faced a problem to install mysql on the linux operating system,  So in this blog I mentioned  installation step of  mysql on  linux machine. Get the mysql installation  from http://ftp.jaist.ac.jp/pub/mysql/ site wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.41-linux-i686-glibc23.tar.gz/. Unzip the mysql-5.1.41-linux-i686-glibc23.tar.gz file. Goto the mysql dir, and run the following commands Chat with Rajendra Nautiyal<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=104&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many time I faced a problem to install mysql on the linux operating system,  So in this blog I mentioned  installation step of  mysql on  linux machine.</p>
<p>Get the mysql installation  from http://ftp.jaist.ac.jp/pub/mysql/ site</p>
<ol>
<li>wget  http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.41-linux-i686-glibc23.tar.gz/.</li>
<li>Unzip the mysql-5.1.41-linux-i686-glibc23.tar.gz file.</li>
<li>Goto the mysql dir, and run the following commands</li>
</ol>
<p><pre class="brush: css;">
groupadd mysql
useradd -g mysql mysql
chown -R mysql .
chgrp -R mysql .
scripts/mysql_install_db  --user=mysql
chown -R root .
chown -R mysql data
bin/mysqld_safe --user=mysql &amp;
bin/mysqladmin -u root password  'password'
</pre></p>
<p><span id="more-104"></span></p>
<div style="padding-top:10px;"><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/resources/chaticon.gif" alt="" width="16" height="14" /><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&amp;w=9&amp;h=9" alt="" width="9" height="9" /><a title="Click here to chat with Rajendra Nautiyal" href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr" target="_blank">Chat with Rajendra Nautiyal</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=104&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2010/05/25/installation-of-mysql-on-the-linux-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>

		<media:content url="http://www.google.com/talk/service/resources/chaticon.gif" medium="image" />

		<media:content url="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&#38;w=9&#38;h=9" medium="image" />
	</item>
		<item>
		<title>Microsoft DOS netstat command to displays all local network information</title>
		<link>http://rajnautiyal.wordpress.com/2010/02/25/microsoft-dos-netstat-command-to-displays-all-local-network-information/</link>
		<comments>http://rajnautiyal.wordpress.com/2010/02/25/microsoft-dos-netstat-command-to-displays-all-local-network-information/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 13:24:35 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[netstate command]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=91</guid>
		<description><![CDATA[For Windows Use netstat -na -b  to see names of programs along with the port they are using : Windows command :netstat -na -b For Linux Use  netstat -nlp to see PID and names of programs along with the port they are using (note you can only see the PID of process you own, unless [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=91&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3><span style="text-decoration:underline;"><strong>For Windows</strong></span></h3>
<p>Use netstat -na -b  to see names of programs along with the port they are using :<br />
<strong> <span style="text-decoration:underline;">Windows command</span></strong> :<strong>netstat -na -b</strong></p>
<div id="attachment_95" class="wp-caption alignnone" style="width: 310px"><a href="http://rajnautiyal.files.wordpress.com/2010/02/netstat.png"><img class="size-medium wp-image-95" title="netstat" src="http://rajnautiyal.files.wordpress.com/2010/02/netstat.png?w=300&#038;h=293" alt="" width="300" height="293" /></a><p class="wp-caption-text">netstat command for windows</p></div>
<h3><strong> <span style="text-decoration:underline;">For Linux</span></strong></h3>
<p>Use  netstat -nlp<strong> </strong><strong> </strong>to see PID and names of programs along with the port they are using (note you can only see the PID of process you own, unless running as root)</p>
<p><strong> <span style="text-decoration:underline;">Linux command</span></strong> :<strong>netstat -nl</strong></p>
<div style="padding-top:10px;"><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/resources/chaticon.gif" alt="" width="16" height="14" /><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&amp;w=9&amp;h=9" alt="" width="9" height="9" /><a title="Click here to chat with Rajendra Nautiyal" href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr" target="_blank">Chat with Rajendra Nautiyal</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=91&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2010/02/25/microsoft-dos-netstat-command-to-displays-all-local-network-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>

		<media:content url="http://rajnautiyal.files.wordpress.com/2010/02/netstat.png?w=300" medium="image">
			<media:title type="html">netstat</media:title>
		</media:content>

		<media:content url="http://www.google.com/talk/service/resources/chaticon.gif" medium="image" />

		<media:content url="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&#38;w=9&#38;h=9" medium="image" />
	</item>
		<item>
		<title>Java Install Builder</title>
		<link>http://rajnautiyal.wordpress.com/2010/01/19/java-install-builder/</link>
		<comments>http://rajnautiyal.wordpress.com/2010/01/19/java-install-builder/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 03:09:40 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=89</guid>
		<description><![CDATA[Few month before I am searching for free multi-platform Java installer builder. But we didn&#8217;t find any free java installer builder then finally we move on to the &#8220;Install4j&#8220;. We worked on the install4j around 3-4 month. We found that for the basic functionalities(for few screens and for some action) install4j worked fine. But when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=89&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Few month before I am searching for  free multi-platform Java installer builder. But we didn&#8217;t find any free java installer builder then finally we move on to the &#8220;<strong>Install4j</strong>&#8220;. We worked on the install4j around 3-4 month. We found that for the basic functionalities(for few screens and for some action) install4j worked fine. But when we are building some complex installer that time install4j have lot of issues. The most common issues with the install4j which I faced is Dynamically bundle of JRE. When I dynamically bundle the jre I am able to bundle the jre, but once the jre bundled with the installer it always extract. There is no way to prevent the extraction of the jre. Even on the completion of the installer if I want to trigger any batch file or sh file for the deletion of the jre, the install4j didn&#8217;t allowed to delete the jre. I discussed same thing with the &#8220;Install4j&#8221; support team but I got straight forward answer that we can&#8217;t do that with the &#8220;Install4j&#8221;. </p>
<p>In this blog I want some support. Please provide me some other &#8220;Java  install builder tool&#8221;.</p>
<div style="padding-top:10px;"><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/resources/chaticon.gif" alt="" width="16" height="14" /><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&amp;w=9&amp;h=9" alt="" width="9" height="9" /><a title="Click here to chat with Rajendra Nautiyal" href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr" target="_blank">Chat with Rajendra Nautiyal</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=89&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2010/01/19/java-install-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>

		<media:content url="http://www.google.com/talk/service/resources/chaticon.gif" medium="image" />

		<media:content url="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&#38;w=9&#38;h=9" medium="image" />
	</item>
		<item>
		<title>Create Filters in Java</title>
		<link>http://rajnautiyal.wordpress.com/2009/06/10/filter-in-java/</link>
		<comments>http://rajnautiyal.wordpress.com/2009/06/10/filter-in-java/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 09:42:04 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[Java filters]]></category>
		<category><![CDATA[Create filter in java]]></category>
		<category><![CDATA[How to create filter]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=80</guid>
		<description><![CDATA[Filter is basically a component that is invoked when a client request a resource that the Filter is mapped to, such as a URL pattern or a Servlet name. Normally, a filter is used to wrap and manipulate Request, Response or header values before or after the execution of the original request target and do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=80&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Filter is basically a component that is invoked when a client request a resource that the Filter is mapped to, such as a URL pattern or a Servlet name. Normally, a filter is used to wrap and manipulate Request, Response or header values before or after the execution of the original request target and do not itself return any response to the client.</p>
<p>Filters can be configured to act upon a certain request or upon different requests. Filters can also be put into a chain, where a number of Filters can be invoked after each other. Any Filter taking part of such a chain can at any time give control to the next Filter or redirect the request out of the chain .</p>
<p>Method for creating the filter</p>
<p><strong>public void doFilter(final ServletRequest request, final ServletResponse response, FilterChain chain)</strong></p>
<p>The <code>doFilter</code> method of the Filter is called by the container  each time a request/response pair is passed through the chain due  to a client request for a resource at the end of the chain. The FilterChain passed in to this  method allows the Filter to pass on the request and response to the next entity in the  chain.</p>
<p><strong>public void init(FilterConfig filterConfig)</strong></p>
<p>Called by the web container to indicate to a filter that it is being placed into  service. The servlet container calls the init method exactly once after instantiating the  filter. The init method must complete successfully before the filter is asked to do any  filtering work.<br />
<strong>public void destroy()</strong></p>
<p>Called by the web container to indicate to a filter that it is being taken out of service. This   method is only called once all threads within the filter&#8217;s doFilter method have exited or after  a timeout period has passed. After the web container calls this method, it will not call the  doFilter method again on this instance of the filter.</p>
<p>For creating your own  filter you have to  map  your filter in  web.xml</p>
<p><pre class="brush: xml;">
&lt;filter&gt;
		&lt;!-- controls access for administrators' resources --&gt;
		&lt;filter-name&gt;AdminAccessFilter&lt;/filter-name&gt;
		&lt;filter class&gt;foo.bar.filter.AccessControlFilter&lt;/filter-class&gt;
	&lt;/filter&gt;
	
	&lt;filter-mapping
		&lt;filter-name&gt;AdminAccessFilter&lt;/filter-name&gt;
		&lt;url-pattern&gt;/admin/*&lt;/url-pattern&gt;
	&lt;/filter-mapping&gt;
	
	&lt;filter-mapping&gt;
		&lt;filter-name&gt;AdminAccessFilter&lt;/filter-name&gt;
		&lt;url-pattern&gt;/admin/&lt;/url-pattern&gt;
	&lt;/filter-mapping&gt;
</pre></p>
<p>after mapping create a filter class for e.g<br />
<pre class="brush: java;">
package foo.bar.filter;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.log4j.Logger;
import foo.bar.model.Admin;

/**
 * Servlet Filter to attach the user under &lt;code&gt;USER_KEY&lt;/code&gt; (session) to the current
 * execution thread.
 */
   public class AccessControlFilter implements Filter {

	private static Logger log = Logger.getLogger(AccessControlFilter.class.getName());
	private FilterConfig filterConfig;
        private static final String LOGIN_PAGE = &quot;/admin/adminlogin.action&quot;;
	private static final String INTERCEPTION_PREFIX = &quot;/admin/&quot;;
	public void doFilter(ServletRequest req, ServletResponse res,FilterChain chain) throws IOException,       ServletException {
		HttpServletRequest request = (HttpServletRequest) req;
		String servletPath = request.getServletPath();
		if (! servletPath.startsWith(INTERCEPTION_PREFIX)) {
			HttpSession httpSession = request.getSession();
			Admin user = (Admin) httpSession.getAttribute(&quot;Adminuser&quot;);
			if (user == null) {
			 	RequestDispatcher dispatcher = request.getRequestDispatcher(LOGIN_PAGE);
				dispatcher.forward(request, (HttpServletResponse) res);
				return;
			}
		}
		chain.doFilter(req, res);
	return;
   }

   public void init(FilterConfig config)
    {
        this.filterConfig = config;
    }

   public void destroy()
    {
        this.filterConfig = null;
    }

    public FilterConfig getFilterConfig()
    {
        return filterConfig;
    }

}
</pre></p>
<div style="padding-top:10px;"><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/resources/chaticon.gif" alt="" width="16" height="14" /><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&amp;w=9&amp;h=9" alt="" width="9" height="9" /><a title="Click here to chat with Rajendra Nautiyal" href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr" target="_blank">Chat with Rajendra Nautiyal</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=80&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2009/06/10/filter-in-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>

		<media:content url="http://www.google.com/talk/service/resources/chaticon.gif" medium="image" />

		<media:content url="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&#38;w=9&#38;h=9" medium="image" />
	</item>
		<item>
		<title>Thickbox z-index of Flash Objects</title>
		<link>http://rajnautiyal.wordpress.com/2009/05/04/thickbox-z-index-of-flash-objects/</link>
		<comments>http://rajnautiyal.wordpress.com/2009/05/04/thickbox-z-index-of-flash-objects/#comments</comments>
		<pubDate>Mon, 04 May 2009 07:07:09 +0000</pubDate>
		<dc:creator>rajnautiyal</dc:creator>
				<category><![CDATA[Technical Blog]]></category>
		<category><![CDATA[thickbox flash issues]]></category>
		<category><![CDATA[z-index Flash Objects Thickbox Fix]]></category>
		<category><![CDATA[z-index of Flash Objects]]></category>

		<guid isPermaLink="false">http://rajnautiyal.wordpress.com/?p=53</guid>
		<description><![CDATA[I had an issue with thickbox where it would show the image behind a flash video in FireFox.I found really intersenting solution on this .I wanted to blog this  information for my own record , plus to help &#8216;index&#8217; the solution for others. Solution 1. Wrap your flash content in a div 2. Add &#60;param [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=53&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had an issue with thickbox where it would show the image behind a flash video in FireFox.I found really intersenting solution on this .I wanted to blog this  information for my own record , plus to help &#8216;index&#8217; the solution for others.</p>
<h3><strong><span style="color:#3366ff;">Solution</span></strong></h3>
<ol> 1. Wrap your flash content in a div<br />
2. Add &lt;param name=&#8221;wmode&#8221; value=&#8221;transparent&#8221;&gt; to your object tag<br />
3. Set wmode=&#8221;transparent&#8221; in the embed tag<br />
4. Use css to set the position and z-index for your div (don&#8217;t set negative z-index values as it will make your flash disappear)</ol>
<h3><strong><span style="color:#800080;">The CSS</span></strong></h3>
<p><pre class="brush: css;">
#flash {
position: relative; /*or absolute*/
z-index: 0;
}

</pre></p>
<h3><span style="color:#800080;"><strong>The XHTML</strong></span></h3>
<p>&lt;div id=&#8221;flash&#8221;&gt;<br />
&lt;object &#8230;&gt;<br />
&lt;param name=&#8221;wmode&#8221; value=&#8221;transparent&#8221;&gt;<br />
&lt;embed &#8230; wmode=&#8221;transparent&#8221;&gt;<br />
&lt;/object&gt;<br />
&lt;/div&gt;</p>
<div style="padding-top:10px;"><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/resources/chaticon.gif" alt="" width="16" height="14" /><img style="border:medium none;margin:0;padding:0 2px 0 0;" src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&amp;w=9&amp;h=9" alt="" width="9" height="9" /><a title="Click here to chat with Rajendra Nautiyal" href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr" target="_blank">Chat with Rajendra Nautiyal</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rajnautiyal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rajnautiyal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rajnautiyal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rajnautiyal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rajnautiyal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rajnautiyal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rajnautiyal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rajnautiyal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rajnautiyal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rajnautiyal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rajnautiyal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rajnautiyal.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rajnautiyal.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rajnautiyal.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rajnautiyal.wordpress.com&amp;blog=6510043&amp;post=53&amp;subd=rajnautiyal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rajnautiyal.wordpress.com/2009/05/04/thickbox-z-index-of-flash-objects/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea2393b8b914ae7a51294e911387dc97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rajnautiyal</media:title>
		</media:content>

		<media:content url="http://www.google.com/talk/service/resources/chaticon.gif" medium="image" />

		<media:content url="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqnqqgisclrp8msihrjk84kjgssprupapnnioeluugp0ihh6e71j7b4fl3jmqfpqheb3ve3r8sv1qcnitk1q7fks9hvmeauvfknudtke8ern5apcmtdb0lll2eupp5e1bedh3tlfcclrb8kfih3t3a6ho59gdoffbr&#38;w=9&#38;h=9" medium="image" />
	</item>
	</channel>
</rss>
