Link Details

A gentle introduction on how to set up the Hibernate second-level cache with EhCache to get better read performance. A sample project running via Maven is included. Potential drawbacks and complications are mentioned as well.

Posted by Jacek  |   Aug 10 2010 / 20:22

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Comments

User 187203 avatar

digi9ten replied ago:

The content of the article is 100% correct, but the title is misleading.
You're simply using EhCache as the 2nd level cache provide. You're not actually combining 2 things.

Reply 0 votes
User 116586 avatar

Jacek replied ago:

Technically you are correct. The article is meant to show how you can wire all of the pieces (Spring + Hibernate + Ehcache) into a usable end app, i.e. filling in the gaps between each separate library's documentation.

Reply 0 votes
User 187203 avatar

digi9ten replied ago:

Agreed, well worth a read and an Up vote.

Reply 0 votes
User 116586 avatar

Jacek replied ago:

Thanks!

Reply 0 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone