<?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>Technical Jargon</title>
	<atom:link href="http://sarathckrishnan.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sarathckrishnan.wordpress.com</link>
	<description>&#34;Its fun to learn&#34;- guru_G</description>
	<lastBuildDate>Mon, 13 Jul 2009 13:45:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sarathckrishnan.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9d72b5c5bf60a40e9a83645f4bd64757?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Technical Jargon</title>
		<link>http://sarathckrishnan.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sarathckrishnan.wordpress.com/osd.xml" title="Technical Jargon" />
	<atom:link rel='hub' href='http://sarathckrishnan.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Copy Photos From Orkut</title>
		<link>http://sarathckrishnan.wordpress.com/2009/07/13/copy-photos-from-orkut/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/07/13/copy-photos-from-orkut/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 08:45:53 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[orkut]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/?p=45</guid>
		<description><![CDATA[Orkut has increased the security and disabled copying photos from the albums.But we can easily copy photos from orkut.Here is the way Double click on the photo to be copied. The photo is highlighted with a blue colour once it is double clicked. Drag the photo with your mouse to your desktop. Thats it. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=45&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Orkut has increased the security and disabled copying photos from the albums.But we can easily copy photos from orkut.Here is the way</p>
<ol>
<li>Double click on the photo to be copied.</li>
<li>The photo is highlighted with a blue colour once it is double clicked.</li>
<li>Drag the photo with your mouse to your desktop.</li>
<li>Thats it. The photo will be there in your desktop with a long file name.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=45&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/07/13/copy-photos-from-orkut/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
		<item>
		<title>Integration of Hibernate with Spring</title>
		<link>http://sarathckrishnan.wordpress.com/2009/06/04/integration-of-hibernate-with-spring/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/06/04/integration-of-hibernate-with-spring/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 15:36:25 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Hibernate Template]]></category>
		<category><![CDATA[Integration]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/?p=26</guid>
		<description><![CDATA[Spring is a powerful middle tier framework which has got good support for Hibernate. In Hibernate we perform the operations like save,update,merge etc. using session. If we are using spring we can perform all these and many more tasks using Hibernate Template. In order to use Hibernate template(There are other ways too.I personally feel this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=26&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Spring is a powerful middle tier framework which has got good support for Hibernate. In Hibernate we perform the operations like save,update,merge etc. using session. If we are using spring we can perform all these and many more tasks using <strong>Hibernate Template</strong>. In order to use Hibernate template(There are other ways too.I  personally feel this is the simplest way) we need to define an <strong>interface</strong> containing all the methods of the <strong>DAO</strong> class. The DAO class must implement this interface and extends HibernateDaoSupport. By doing this we can perform all the operations. Advantage of using Hibernate Template is that it performs the session and transaction management by itself and we don&#8217;t have to implicitly open and close the session or begin and commit the transaction. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=26&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/06/04/integration-of-hibernate-with-spring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
		<item>
		<title>HQL</title>
		<link>http://sarathckrishnan.wordpress.com/2009/05/24/hql/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/05/24/hql/#comments</comments>
		<pubDate>Sat, 23 May 2009 22:34:50 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[HQL]]></category>
		<category><![CDATA[Query Language]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/?p=24</guid>
		<description><![CDATA[Hibernate provides a simplified language for querying into the database. Its called HQL-Hibernate Query language. We can use SQL Queries directly in hibernate,So naturally a question may come.Whats the need of using HQL if you can perform the same with SQL ? 1.HQL is very simple. Its very easy to learn and manipulate. 2. HQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=24&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hibernate provides a simplified language for querying into the database. Its called HQL-Hibernate Query language.<br />
We can use SQL Queries directly in hibernate,So naturally a question may come.Whats the need of using HQL if you can perform the same with SQL ?</p>
<p>1.HQL is very simple. Its very easy to learn and manipulate.<br />
2. HQL engine generates the most appropriate SQL for a particular task from a set of SQL statements.<br />
3.Usage of HQL will help in application portability. We can change the Database from say Oracle to MySQL without changing any HQL queries. Only change needed is in the Configuration file where we need to specify the appropriate driver and dialect.</p>
<p>These are some of the advantages of using HQL. I will keep you updated with more advantages soon. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=24&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/05/24/hql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
		<item>
		<title>Lazy Loading in Hibernate</title>
		<link>http://sarathckrishnan.wordpress.com/2009/05/24/lazy-loading-in-hibernate/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/05/24/lazy-loading-in-hibernate/#comments</comments>
		<pubDate>Sat, 23 May 2009 22:23:29 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Lazy Loading]]></category>
		<category><![CDATA[LazyInitializationException]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/?p=21</guid>
		<description><![CDATA[Lazy loading is a functionality provided by Hibernate. What lazy loading does is that it doesn&#8217;t load the the associated objects for a class during startup. They will be loaded only when they are referenced. This lazy loading greatly improves the application performance. In hibernate 3.0, lazy loading is enabled by default. ie:by default the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=21&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Lazy loading</strong> is a functionality provided by Hibernate. What lazy loading does is that it doesn&#8217;t load the the associated objects for a class during startup. They will be loaded only when they are referenced. This lazy loading greatly improves the application performance. In hibernate 3.0, lazy loading is enabled by default. ie:by default the objects are only loaded as and when they are referenced. To say this  in XML terms in hibernate 3.0 <strong>lazy=&#8221;true&#8221;</strong> by default for objects and <strong>lazy=&#8221;false&#8221;</strong> for collections. This default behavior of hibernate may throw in some exception called <strong>LazyInitializationException</strong>. This is a very famous exception and to whoomever you ask for an answer the default answers would be<br />
1. setting lazy=&#8221;false&#8221; for all<br />
2.Use session.get() instead of session.load.<br />
 <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I don&#8217;t think the first one can be called a solution as setting lazy=&#8221;false&#8221; is like forcing the hibernate to work without one of its most important feature.Also it degrades the performance. If the no of  tables and the underlying relations are huge, then it will take a hell lot of time to perform some task. So what we can do is to<br />
keep lazy as true and load the associated objects as and when we need it.</p>
<p>[Please bear with me for the time being, i will post the examples for all these once ma IDE is working fine.Till then i will continue with the theory aspect of it.]</p>
<p>The second one is to be used whether or not u get a Lazy Exception.I say this because method load() returns an exception in case of a null object while method get()  returns a null object  in the same case. So its better to use session.get() for all cases. If you are so much interested in using session.load() do it if and only if you are sure that such an object exists. </p>
<p>Lazy Exception can be a hard nut to crack if you don&#8217;t understand the underlying reason of it. Lazy Exception can also occur due to improper session management ie: trying to access the session after closing it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=21&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/05/24/lazy-loading-in-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
		<item>
		<title>Chrome Commercial</title>
		<link>http://sarathckrishnan.wordpress.com/2009/05/24/chrome-commercial/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/05/24/chrome-commercial/#comments</comments>
		<pubDate>Sat, 23 May 2009 21:19:19 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Commercial]]></category>
		<category><![CDATA[Simple]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/2009/05/24/chrome-commercial/</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=20&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<span style="text-align:center; display: block;"><a href="http://sarathckrishnan.wordpress.com/2009/05/24/chrome-commercial/"><img src="http://img.youtube.com/vi/SHZFsJKlsuA/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=20&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/05/24/chrome-commercial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
		<item>
		<title>iText</title>
		<link>http://sarathckrishnan.wordpress.com/2009/05/24/itext/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/05/24/itext/#comments</comments>
		<pubDate>Sat, 23 May 2009 19:28:05 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[iText]]></category>
		<category><![CDATA[PDF Generation]]></category>
		<category><![CDATA[Sample Code]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/?p=18</guid>
		<description><![CDATA[iText is the free and open source library in Java used for generating PDF, RTF and HTML documents. It is very simple to use and manipulate. For the .NET framework there is iTextSharp similar to iText. iText was developed by Bruno Lowagie in 1998. If you are interested in the history and what made him [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=18&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>iText</strong> is the free and open source library in Java used for generating PDF, RTF and HTML documents. It is very simple to use and manipulate. For the .NET framework there is iTextSharp similar to iText.<br />
iText was developed by Bruno Lowagie in 1998. If you are interested in the history and what made him develop  iText, Visit <a href="http://en.wikipedia.org/wiki/IText"> More on iText </a> .<br />
You can easily tryout the following piece of code provided you have JDK and any IDE. Download the iText.jar from and add it to the project .You can download the jar file from <a href="http://nchc.dl.sourceforge.net/sourceforge/itext/iText-2.1.5.jar">here.</a></p>
<p>Sample code:</p>
<p><code><strong>/*Importing the necesary packages*/<br />
import com.lowagie.text.Document;<br />
import com.lowagie.text.Paragraph;<br />
import com.lowagie.text.pdf.PdfWriter;<br />
import java.io.FileOutputStream;</strong></code></p>
<p><code><strong> </strong><strong>/*Sample code for creating a new pdf document and writing into it<br />
*@author guru_G<br />
*/<br />
public class SampleCode{</strong></p>
<p><strong> public static void main(String[] args) {<br />
try{<br />
Document pdf = new Document();<br />
/**<br />
*This will create a new document in the following<br />
*path D:\ with name Document.pdf<br />
**/<br />
FileOutputStream file=new FileOutputStream("D:\\Document.pdf");<br />
PdfWriter.getInstance(pdf,file);<br />
pdf.open();<br />
/*Adding a new paragraph in the document*/<br />
pdf.add(new Paragraph("Manchester United"));<br />
pdf.close();<br />
}catch(Exception e){<br />
System.out.println("Exception caught :"+e.getMessage());<br />
}<br />
}<br />
}</strong></p>
<p></code></p>
<p>Run the project and a new file will be created in D:\ with name  document.pdf .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=18&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/05/24/itext/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
		<item>
		<title>Pointers</title>
		<link>http://sarathckrishnan.wordpress.com/2009/05/23/pointers/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/05/23/pointers/#comments</comments>
		<pubDate>Sat, 23 May 2009 15:51:41 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Hibernate Reference]]></category>
		<category><![CDATA[Hibernate Tutorial Documentation]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/?p=16</guid>
		<description><![CDATA[Learn hibernate from Gavin King,Christian Bauer and team. They are the creators of hibernate. Recently i read about Gavin, he has only 5 years of experience working with Java and went on to create a framework of this magnitude.Infact knowledge of Java is not the essential thing you need to learn Hibernate.You have Nhibernate if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=16&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Learn hibernate from Gavin King,Christian Bauer and team. They are the creators of hibernate. Recently i read about Gavin, he has only 5 years of experience working with Java and went on to create a framework of this magnitude.Infact knowledge of Java is not the essential thing you need to learn Hibernate.You have Nhibernate if you are a fan of .NET technologies.  Gavin and Christian are presently working for the JBoss project and he is also an active member of the EJB spec. group.</p>
<p>Visit Hibernate home page <a href="https://www.hibernate.org/344.html">Hibernate Core </a></p>
<p>Read the <a href="http://docs.jboss.org/hibernate/stable/core/reference/en/html/">documentation </a>.</p>
<p>There are also many tutorials available in the web. wait..!!! I am gonna post a tutorial in Hibernate where i will help you in each and every step of learning hibernate. </p>
<p>PS: I am having some problems with my Eclipse IDE. ie y the delay in posting the tutorial </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=16&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/05/23/pointers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
		<item>
		<title>An introduction to Hibernate</title>
		<link>http://sarathckrishnan.wordpress.com/2009/05/23/an-introduction-to-hibernate/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/05/23/an-introduction-to-hibernate/#comments</comments>
		<pubDate>Sat, 23 May 2009 15:29:10 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/?p=13</guid>
		<description><![CDATA[  hey guys, am gonna talk abt Hibernate..!!! its an ORM tool&#8230; wats ORM and wats an ORM tool..?? ORM stands for Object Relational Mapping..its mapping between objects and database. we normally use JDBC to  talk 2 database from Java. Using an ORM tool like Hibernate we map java objetcs to Database. In Hibernate tables [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=13&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> </p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">hey guys,</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">am gonna talk abt Hibernate..!!! its an ORM tool&#8230;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">wats ORM and wats an ORM tool..?? ORM stands for Object Relational Mapping..its mapping between objects and database. we normally use JDBC to  talk 2 database from Java. Using an ORM tool like Hibernate we map java objetcs to Database. In Hibernate tables are denoted as classes and relationships are denoted by objects. there are a few terms we need to understand when we are using Hibernate.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">POJO Classes- Plain Old Java Objects</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">These are java equivalent of the database tables, the columns in the tables are represented as member variables of the particular class with access specifer Private..all these member variables willl have getter and setter methods. The class also consists of a default constructor .We normaly add two parametrised constructors. one consisting of all the members in the class another consisting of member variables which are mandatory(ie: columns which are NOT-NULL in table).</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">HBM- Hibernate Mapping File</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">this is an xml file defining the table structure.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"> </div>
<p>Hey all, I am gonna talk abt Hibernate..!!! Its a java persistence frame work. In simple words its  an ORM tool.</p>
<p>Whats ORM and whats an ORM tool..?? ORM stands for Object Relational Mapping..its mapping between objects and database. we normally use JDBC to  talk 2 database from Java. Using an ORM tool like Hibernate we map java objetcs to Database. In Hibernate tables are denoted as classes and relationships are denoted by objects. there are a few terms we need to understand when we are using Hibernate.</p>
<ul>
<li>POJO Classes- Plain Old Java Objects</li>
</ul>
<p>These are java equivalent of the database tables, the columns in the tables are represented as member variables of the particular class with access specifer Private..all these member variables willl have getter and setter methods. The class also consists of a default constructor .We normaly add two parametrised constructors. one consisting of all the members in the class another consisting of member variables which are mandatory(ie: columns which are NOT-NULL in table).</p>
<ul>
<li>HBM- Hibernate Mapping File</li>
</ul>
<p>An xml file defining the table structure.using the various tags available, we can define the entire schema.</p>
<ul>
<li>Hibernate CFG -configuration file </li>
</ul>
<p>Using the Configuration file we can specify the dilaect, the schema to which we need to connect, the driver to be used, the connection pool size etc etc.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=13&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/05/23/an-introduction-to-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
		<item>
		<title>Welcome</title>
		<link>http://sarathckrishnan.wordpress.com/2009/05/23/welcome/</link>
		<comments>http://sarathckrishnan.wordpress.com/2009/05/23/welcome/#comments</comments>
		<pubDate>Sat, 23 May 2009 14:01:50 +0000</pubDate>
		<dc:creator>guru_G</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sarathckrishnan.wordpress.com/?p=7</guid>
		<description><![CDATA[Welcome you all !! Just as the tag line says this is a 100% technical blog. you can catch me up with more non-technical stuff here. Happy reading&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=7&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome you all !! Just as the tag line says this is a 100% technical blog.<br />
you can catch me up with more non-technical stuff <strong><a href="http://sarathckrishnan.blogspot.com"> here</a></strong>.<br />
Happy reading&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sarathckrishnan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sarathckrishnan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sarathckrishnan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sarathckrishnan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sarathckrishnan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sarathckrishnan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sarathckrishnan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sarathckrishnan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sarathckrishnan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sarathckrishnan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sarathckrishnan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sarathckrishnan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sarathckrishnan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sarathckrishnan.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sarathckrishnan.wordpress.com&amp;blog=3911265&amp;post=7&amp;subd=sarathckrishnan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sarathckrishnan.wordpress.com/2009/05/23/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/067e597aea4edfa7b1fa92273c35d242?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">guru_G</media:title>
		</media:content>
	</item>
	</channel>
</rss>
