<?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/"
	>

<channel>
	<title>JavaBeat &#187; Vani Shanmugam</title>
	<atom:link href="http://www.javabeat.net/author/vani/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javabeat.net</link>
	<description>Java Technology News</description>
	<lastBuildDate>Mon, 13 May 2013 20:10:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>What is Hibernate Caching?</title>
		<link>http://www.javabeat.net/2007/10/introduction-to-hibernate-caching/</link>
		<comments>http://www.javabeat.net/2007/10/introduction-to-hibernate-caching/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 11:34:24 +0000</pubDate>
		<dc:creator>Vani Shanmugam</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Hibernate Caching]]></category>

		<guid isPermaLink="false">http://www.javabeat.net/?p=102</guid>
		<description><![CDATA[<p>Connect to us ( <a href="https://twitter.com/javabeat">@twitter</a> | <a href="https://www.facebook.com/javabeat.net">@facebook )</p><p>1) Introduction While working with Hibernate web applications we will face so many problems in its performance due to database traffic. That to when the database traffic is very heavy . Actually hibernate is well used just because of its high performance only. So some techniques are necessary to maintain its performance. Hibernate Caching is [...]</p>]]></description>
				<content:encoded><![CDATA[<p>Connect to us ( <a href="https://twitter.com/javabeat">@twitter</a> | <a href="https://www.facebook.com/javabeat.net">@facebook )</p><div class="wpInsert wpInsertInPostAd wpInsertLeft" style="float: left; margin: 5px; padding: 0px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-1490953723360528";
/* Article-Rect */
google_ad_slot = "9976259118";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><a id="dd_start"></a><h2><span style="font-family: Verdana;">1) Introduction</span></h2>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">While working with <strong>Hibernate web applications</strong> we will face so many problems in its <strong>performance</strong> due to <strong>database traffic</strong>. That to when the <strong>database traffic</strong> is very heavy . Actually hibernate is well used just because of its <strong>high performance</strong> only. So some techniques are necessary to maintain its performance. <strong>Hibernate Caching</strong> is the best technique to solve this problem. In this article we will discuss about, how we can improve the performance of Hibernate web applications using caching.</span></p>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">The performance of <a href="http://www.javabeat.net/2007/05/hibernate-ormobjectrelational-framework-an-introduction/"><strong>Hibernate web applications</strong></a> is improved using caching by <strong>optimizing the database applications</strong>. The <strong>cache</strong> actually stores the data already loaded from the database, so that the traffic between our application and the database will be reduced when the application want to access that data again. Maximum the application will works with the data in the cache only. Whenever some another data is needed, the database will be accessed. Because the <strong>time needed to access the database</strong> is more when compared with the <strong>time needed to access the cache</strong>. So obviously the <strong>access time and traffic</strong> will be reduced between the application and the database. Here the cache stores only the data related to <strong>current running application</strong>. In order to do that, the cache must be <strong>cleared time to time</strong> whenever the applications are changing. Here are the contents.</span></p>
<ul>
<li><a href="http://www.flipkart.com/hibernate-developers-notebook-8173669341/p/itmczzj4xemmfxzk?pid=9788173669347&amp;affid=suthukrish" target="_blank">Hibernate: A developers notebook</a></li>
<li><a href="http://www.flipkart.com/hibernate-action-8177225596/p/itmdyn7f7zjdzgt2?pid=9788177225594&amp;affid=suthukrish" target="_blank">Hibernate in Action</a></li>
</ul>
<ul>
<li>Introduction.
<ul>
<li>First-level cache.</li>
<li>Second-level cache.</li>
</ul>
</li>
<li>Cache Implementations.
<ul>
<li><strong>EHCache</strong></li>
<li>OSCache</li>
<li>SwarmCache</li>
<li>JBoss TreeCache</li>
</ul>
</li>
<li>Caching Stringategies.
<ul>
<li>Read-only.</li>
<li>Read-Write.</li>
<li>Nonstriict read-write.</li>
<li>Transactional.</li>
</ul>
</li>
<li>Configuration.</li>
<li>&lt;cache&gt; element.</li>
<li>Caching the queries.</li>
<li>Custom Cache.
<ul>
<li>Configuration.</li>
<li>Implementation :: ExampleCustomCache.</li>
</ul>
</li>
<li>Something about Caching.
<ul>
<li>Performance.</li>
<li>About Caching.</li>
</ul>
</li>
<li>Conclusion.</li>
</ul>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">Hibernate uses <strong>two different caches</strong> for objects: <strong>first-level cache and second-level cache.</strong>. </span></p>
<h3><span style="font-family: Verdana;">1.1) First-level cache</span></h3>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;"><strong>First-level</strong> cache always Associates with the <strong>Session object</strong>. <strong>Hibernate uses this cache by default</strong>. Here, it processes one transaction after another one, means wont process one transaction many times. Mainly it reduces the <strong>number of SQL</strong> queries it needs to generate within a given transaction. That is instead of updating after every modification done in the transaction, it updates the transaction only at the end of the transaction. </span></p>
<h3><span style="font-family: Verdana;">1.2) Second-level cache</span></h3>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;"><strong>Second-level</strong> cache always associates with the <strong>Session Factory object</strong>. While running the transactions, in between it loads the objects at the <strong>Session Factory level</strong>, so that those objects will available to the entire application, don’t bounds to single user. Since the objects are already loaded in the cache, whenever an object is returned by the query, at that time no need to go for a database transaction. In this way the second level cache works. Here we can use <strong>query level cache</strong> also. Later we will discuss about it.</span></p>
<h2><span style="font-family: Verdana;">2) Cache Implementations</span></h2>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;"><strong>Hibernate </strong>supports <strong>four</strong> open-source <strong>cache implementations</strong> named <strong>EHCache (Easy Hibernate Cache), OSCache (Open Symphony Cache), Swarm Cache</strong>, and <strong>JBoss Tree Cache</strong>. Each cache has different <strong>performance, memory use, and configuration possibilities</strong>. </span></p>
<h3><span style="font-family: Verdana;">2.1) 2.1 EHCache (Easy Hibernate Cache) (org.hibernate.cache.EhCacheProvider)</span></h3>
<ul>
<li>It is <strong>fast</strong>.</li>
<li><strong>lightweight</strong>.</li>
<li><strong>Easy-to-use</strong>.</li>
<li>Supports <strong>read-only</strong> and <strong>read/write</strong> caching.</li>
<li>Supports <strong>memory-based</strong> and <strong>disk-based</strong> caching.</li>
<li>Does not support <strong>clustering</strong>.</li>
</ul>
<h3><span style="font-family: Verdana;">2.2)OSCache (Open Symphony Cache) (org.hibernate.cache.OSCacheProvider) </span></h3>
<ul>
<li>It is a <strong>powerful</strong> .</li>
<li><strong>flexible</strong> package</li>
<li>supports <strong>read-only</strong> and <strong>read/write</strong> caching.</li>
<li>Supports <strong>memory- based</strong> and <strong>disk-based</strong> caching.</li>
<li>Provides basic support for <strong>clustering</strong> via either <strong>JavaGroups or JMS.</strong></li>
</ul>
<h3><span style="font-family: Verdana;">2.3)SwarmCache (org.hibernate.cache.SwarmCacheProvider) </span></h3>
<ul>
<li>is a <strong>cluster-based</strong> caching.</li>
<li>supports <strong>read-only</strong> or <strong>nonstrict read/write</strong> caching .</li>
<li>appropriate for applications those have <strong>more read</strong> operations than <strong>write</strong> operations.</li>
</ul>
<h3><span style="font-family: Verdana;">2.4)JBoss TreeCache (org.hibernate.cache.TreeCacheProvider) </span></h3>
<ul>
<li>is a <strong>powerful replicated</strong> and <strong>transactional</strong> cache.</li>
<li>useful when we need a true <strong>transaction-capable</strong> caching architecture .</li>
</ul>
<h2><span style="font-family: Verdana;">3) Caching Stringategies</span></h2>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">Important thing to remembered while studying this one is <strong>none of the cache providers</strong> support all of the <strong>cache concurrency strategies.</strong></span></p>
<h3><span style="font-family: Verdana;">3.1) Read-only</span></h3>
<ul>
<li>Useful for data that is <strong>read frequently but never updated</strong>.</li>
<li>It is <strong>Simple</strong> .</li>
<li>Best performer among the all.</li>
</ul>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">Advantage if this one is, It is <strong>safe</strong> for using in a <strong>cluster</strong>. Here is an example for using the read-only cache strategy. </span></p>
<pre class="brush: java; title: ; notranslate">
&lt;class name=&quot;abc.mutable &quot; mutable=&quot;true &quot;&gt;
&lt;cache usage=&quot;read-only&quot;/&gt;
....
&lt;/class&gt;
</pre>
<h3><span style="font-family: Verdana;">3.2) Read-Write</span></h3>
<ul>
<li>Used when our <strong>data</strong> needs to be <strong>updated</strong>.</li>
<li>It’s having more overhead than <strong>read-only</strong> caches.</li>
<li>When <strong>Session.close()</strong> or <strong>Session.disconnect()</strong> is called the transaction should be completed in an environment where JTA is no used.</li>
<li>It is never used if <strong>serializable transaction isolation level</strong> is required.</li>
<li>In a JTA environment, for obtaining the JTA <strong>TransactionManager</strong> we must specify the property <strong>hibernate.transaction.manager_lookup_class</strong>.</li>
<li>To use it in a <strong>cluster</strong> the cache implementation must support <strong>locking</strong>.</li>
</ul>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">Here is an example for using the read-write cache stringategy.</span></p>
<pre class="brush: java; title: ; notranslate">
&lt;class name=&quot;abc.xyz&quot; .... &gt;
&lt;cache usage=&quot;read-write&quot;/&gt;
….
&lt;set name=&quot;yuv&quot; ... &gt;
&lt;cache usage=&quot;read-write&quot;/&gt;
….
&lt;/set&gt;
&lt;/class&gt;
</pre>
<h3><span style="font-family: Verdana;">3.3) Nonstrict read-write</span></h3>
<ul>
<li>Needed if the application needs to <strong>update data rarely</strong>.</li>
<li>we must specify <strong>hibernate.transaction.manager_lookup_class </strong>to use this in a JTA environment .</li>
<li>The transaction is completed when <strong>Session.close()</strong> or <strong>Session.disconnect()</strong> is called In other environments (except JTA) .</li>
</ul>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">Here is an example for using the nonstrict read-write cache stringategy.</span></p>
<pre class="brush: java; title: ; notranslate">
&lt;class name=&quot;abc.xyz&quot; .... &gt;
&lt;cache usage=&quot; nonstringict-read-write&quot;/&gt;
….
&lt;/class&gt;
</pre>
<h3><span style="font-family: Verdana;">3.4) Transactional</span></h3>
<ul>
<li>It supports only transactional cache providers such as <strong>JBoss TreeCache</strong>.</li>
<li>only used in <strong>JTA environment</strong>.</li>
</ul>
<h2><span style="font-family: Verdana;">4) Configuration</span></h2>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">For <strong>configuring cache</strong> the <strong>hibernate.cfg.xml</strong> file is used. A typical configuration file is shown below. </span></p>
<pre class="brush: java; title: ; notranslate">&lt;hibernate-configuration&gt;
	&lt;session-factory&gt;
		...
		&lt;property name=&quot;hibernate.cache.provider_class&quot;&gt;
			org.hibernate.cache.EHCacheProvider
		&lt;/property&gt;
		...
	&lt;/session-factory&gt;
&lt;/hibernate-configuration&gt;</pre>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">The name in <strong>&lt;property&gt; </strong>tag must be <strong>hibernate.cache.provider_class</strong> for activating <strong>second-level cache</strong>. We can use <strong>hibernate.cache.use_second_level_cache</strong> property, which allows you to <strong>activate</strong> and <strong>deactivate</strong> the <strong>second-level cache</strong>. By <strong>default</strong>, the <strong>second-level cache</strong> is activated and uses the <strong>EHCache</strong>. </span></p>
<h2><span style="font-family: Verdana;">5) &lt;cache&gt; element</span></h2>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">The <strong>&lt;cache&gt;</strong> element of a class has the following form: </span></p>
<pre class="brush: java; title: ; notranslate">
&lt;cache
    usage=&quot; caching stringategy&quot;
    region=&quot;RegionName&quot;
    include=&quot;all | non-lazy&quot;/&gt;
</pre>
<ul>
<li><strong>usage</strong> (mandatory) specifies the caching stringategy: transactional, read-write, nonstringict-read-write or read-only.</li>
<li><strong>region </strong>(optional) specifies the name of the second level cache region .</li>
<li><strong>include</strong> (optional) non-lazy specifies that properties of the entity mapped with <strong>lazy=&#8221;true&#8221;</strong> may not be cached when attribute-level lazy fetching is enabled.</li>
</ul>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">The <strong>&lt;cache&gt;</strong> element of a class is also called as the <strong>collection mapping</strong>.</span></p><div class="wpInsert wpInsertInPostAd wpInsertMiddle" style="margin: 5px; padding: 0px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-1490953723360528";
/* Article-Middle-Med-Rect */
google_ad_slot = "7805667846";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<h2><span style="font-family: Verdana;">6) Caching the queries</span></h2>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">Until now we saw only caching the transactions. Now we are going to study about the <strong>caching the queries</strong>.Suppose some queries are running frequently with same set of parameters, those queries can be cached. We have to set <strong>hibernate.cache.use_query_cache</strong> to true by calling <strong>Query.setCacheable(true)</strong> for enabling the query cache. Actually updates in the queries occur very often. So, for <strong>query caching</strong>, <strong>two cache regions</strong> are necessary.</span></p>
<ul>
<li>For storing the results.( cache identifier values and results of value type only).</li>
<li>For storing the most recent updates.</li>
</ul>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;"><strong>Query cache</strong> always used <strong>second-level cache</strong> only. <strong>Queries wont cached by default</strong>. Here is an example implementation of query cache.</span></p>
<pre class="brush: java; title: ; notranslate">List xyz = abc.createQuery(&quot;Query&quot;)
    .setEntity(&quot;…&quot;,….)
    .setMaxResults(some integer)
    .setCacheable(true)
    .setCacheRegion(&quot;region name&quot;)
    .list();	</pre>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">We can cache the exact results of a query by setting the <strong>hibernate.cache.use_query_cache property</strong> in the <strong>hibernate.cfg.xml file</strong> to <strong>true</strong> as follows:</span></p>
<pre class="brush: java; title: ; notranslate">&lt;property name=&quot;hibernate.cache.use_query_cache&quot;&gt;true&lt;/property&gt;</pre>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">Then, we can use the <strong>setCacheable()</strong> method on any query we wish to cache.</span></p>
<h2><span style="font-family: Verdana;">7) Custom Cache</span></h2>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">To understand the relation between cache and the application the cache implementation must generate statistics of cache usage.</span></p>
<h3><span style="font-family: Verdana;">7.1) Custom Cache Configuration</span></h3>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">In the <strong>hibernate.properties</strong> file set the property <strong>hibernate.cache.provider_class = examples.customCache.customCacheProvider</strong>.</span></p>
<h3><span style="font-family: Verdana;">7.2) Implementation :: ExampleCustomCache</span></h3>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;">Here is the implementation of <strong>ExampleCustomCache</strong>. Here it uses <strong>Hashtable</strong> for storing the <strong>cache statistics</strong>.</span></p>
<pre class="brush: java; title: ; notranslate">package examples.ExampleCustomCache;

import net.sf.hibernate.cache;
import java.util;
import org.apache.commons.logging;

public class ExampleCustomCache implements Cache
{
  public Log log = LogFactory.getLog(ExapleCustomCache.class);
  public Map table = new Hashtable(100);
int hits, misses, newhits, newmisses, locks, unlocks,
      remhits, remmisses, clears, destroys;

  public void statCount(StringBuffer input, String string1,
                                        int value)
  {
    input.append(string1 + &quot; &quot; + value);
  }

  public String lStats()
  {
    StringBuffer res = new StringBuffer();

    statCount(res, &quot;hits&quot;, hits);
    statCount(res, &quot;misses&quot;, misses);
    statCount(res, &quot;new hits&quot;, newhits);
    statCount(res, &quot;new misses&quot;, newmisses);
    statCount(res, &quot;locks&quot;, lock);
    statCount(res, &quot;unlocks&quot;, unlock);
    statCount(res, &quot;rem hits &quot;, remhits);
    statCount(res, &quot;rem misses&quot;, remmisses);
    statCount(res, &quot;clear&quot;, clears);
    statCount(res, &quot;destroy&quot;, destroys);

    return res.toString();
  }

  public Object get(Object key)
  {
    if (table.get(key) == null)
    {
      log.info(&quot;get &quot; + key.toString () + &quot; missed&quot;);
      misses++;
    } else
    {
      log.info(&quot;get &quot; + key.toString () + &quot; hit&quot;);
      hits++;
    }

    return table.get(key);
  }

  public void put(Object key, Object value)
  {
    log.info(&quot;put &quot; + key.toString ());
    if (table.containsKey(key))
    {
      newhits++;
    } else
    {
      newmisses++;
    }
    table.put(key, value);
  }

  public void remove(Object key)
  {
    log.info(&quot;remove &quot; + key.toString ());
    if (table.containsKey(key))
    {
      remhits++;
    } else
    {
      remmisses++;
    }
    table.remove(key);
  }

  public void clear()
  {
    log.info(&quot;clear&quot;);
    clears++;
    table.clear();
  }

  public void destroy()
  {
    log.info(&quot;destringoy &quot;);
    destroys++;
  }

  public void lock(Object key)
  {
    log.info(&quot;lock &quot; + key.toStringing());
    locks++;
  }

  public void unlock(Object key)
  {
    log.info(&quot;unlock &quot; + key.toStringing());
    unlocks++;
  }  	</pre>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;"><strong>Here is the example of Custom Cache</strong>.</span></p>
<pre class="brush: java; title: ; notranslate">Package examples.ExapleCustomCache;

import java.util;
import net.sf.hibernate.cache;

public class ExampleCustomCacheProvider implements CacheProvider
{

  public Hashtable cacheList = new Hashtable();

  public Hashtable getCacheList()
  {
    return cacheList;
  }

  public Stringing cacheInfo ()
  {
    StringingBuffer aa = new StringingBuffer();
    Enumeration cList = cacheList.keys();

    while (cList.hasMoreElements())
    {
      Stringing cName = cList.nextElement().toStringing();
      aa.append(cName);

      ExapleCustomCache myCache = (ExapleCustomCache)
                  cacheList.get(cName);

      aa.append(myCache.lStats());
    }

    return aa.toStringing();
  }

  public ExampleCustomCacheProvider()
  {
  }

  public Cache bCache(String string2, Properties properties)
  {
    ExampleCustomCache nC = new ExapleCustomCache();
    cacheList.put(string2, nC);
    return nC;
  }

}</pre>
<h2><span style="font-family: Verdana;">8)Something about Caching</span></h2>
<h3><span style="font-family: Verdana;">8.1) Performance </span></h3>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;"><strong>Hibernate </strong>provides some <strong>metrics</strong> for measuring the performance of caching, which are all described in the <strong>Statistics interface API</strong>, in three categories: </span></p>
<ul>
<li>Metrics related to the <strong>general Session usage</strong>.</li>
<li>Metrics related to the <strong>entities, collections, queries,</strong> and <strong>cache</strong> as a whole.</li>
<li>Detailed metrics related to a <strong>particular entity, collection, query</strong> or <strong>cache region</strong>.</li>
</ul>
<h3><span style="font-family: Verdana;">8.2) About Caching</span></h3>
<ul>
<li>All objects those are passed to methods <strong>save(), update()</strong> or <strong>saveOrUpdate()</strong> or those you get from <strong>load(), get(), list(), iterate()</strong> or <strong>scroll()</strong> will be saved into cache.</li>
<li><strong>flush()</strong> is used to synchronize the object with database and <strong>evict()</strong> is used to delete it from cache.</li>
<li><strong>contains()</strong> used to find whether the object belongs to the cache or not.</li>
<li><strong>Session.clear()</strong> used to delete all objects from the cache .</li>
<li>Suppose the query wants to force a <strong>refresh</strong> of its <strong>query cache region</strong>, we should call <strong>Query.setCacheMode(CacheMode.REFRESH)</strong>.</li>
</ul>
<h2><span style="font-family: Verdana;">9) Conclusion</span></h2>
<p align="justify"><span style="font-size: 10pt; font-family: Verdana;"><strong>Caching</strong> is good one and <strong>hibernate</strong> found a good way to implement it for improving its performance in <strong>web applications</strong> especially when more database traffic occurs. If we implement it very correctly, we will get our applications to be running at their <strong>maximum capacities</strong>. I will cover more about the caching implementations in my coming articles. Try to get full coding guidelines before going to implement this. </span></p>
<p align="justify">The following are some of the popular articles published in our website.</p>
<ul>
<li><a title="Spring and Hibernate ORM Framework Integration" href="http://www.javabeat.net/2007/10/integrating-spring-framework-with-hibernate-orm-framework/" target="_blank">Spring and Hibernate Integration</a></li>
<li><a title="Spring Framework Interview Questions" href="http://www.javabeat.net/2009/02/spring-framework-interview-questions/" target="_blank">Spring Interview Questions</a></li>
<li><a href="http://www.javabeat.net/2007/06/introduction-to-spring-mvc-web-framework-web-tier/">Introduction to Spring Framework</a></li>
</ul>
<p><span style="color: #000080;"><strong>If you have any doubts on understanding the concept of Hibernate Caching  please post it in the comments section below. We will be happy to answer all your questions.</strong> </span><strong>If you are interested in receiving the future java articles and tips from us, please</strong> <a href="http://www.javabeat.net/subscribe/">subscribe here</a>. If you are looking for any book suggestions, please post it in the comments section.</p>
<div class='dd_outer'><div class='dd_inner'><div id='dd_ajax_float'><div class='dd_button_v'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http%3A%2F%2Fwww.javabeat.net%2F2007%2F10%2Fintroduction-to-hibernate-caching%2F" send="false" show_faces="false"  layout="box_count" width="50"  ></fb:like></div><div style='clear:left'></div><div class='dd_button_v'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='tall' href='http://www.javabeat.net/2007/10/introduction-to-hibernate-caching/'></g:plusone></div><div style='clear:left'></div><div class='dd_button_v'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.javabeat.net/2007/10/introduction-to-hibernate-caching/" data-count="vertical" data-text="What is Hibernate Caching?" data-via="javabeat" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style='clear:left'></div><div class='dd_button_extra_v'><script type="text/javascript">jQuery(document).load(function(){ stLight.options({publisher:'bab47279-62c9-46af-addc-79fd1fe8fee0'}); });</script><div class="st_email_custom"><span id='dd_email_text'>email</span></div></div><div style='clear:left'></div><div class='dd_button_extra_v'><div id='dd_print_button'><span id='dd_print_text'><a href='javascript:window:print()'>print</a></span></div></div><div style='clear:left'></div></div></div></div><script type="text/javascript">var dd_offset_from_content = 44; var dd_top_offset_from_content = 0;</script><script type="text/javascript" src="http://www.javabeat.net/wp-content/plugins/digg-digg//js/diggdigg-floating-bar.js?ver=5.3.0"></script><div class="wpInsert wpInsertInPostAd wpInsertBelow" style="margin: 5px; padding: 0px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-1490953723360528";
/* JB-Footer-LU 468x15 */
google_ad_slot = "8789107210";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></content:encoded>
			<wfw:commentRss>http://www.javabeat.net/2007/10/introduction-to-hibernate-caching/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
