Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 464185 thumbnail
User 116586 avatar

By Jacek
via developer.com
Published: Aug 10 2010 / 20:22

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.
  • 38
  • 0
  • 6079
  • 21

Comments

Add your comment
User 187203 avatar

digi9ten replied ago:

0 votes Vote down Vote up Reply

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.

User 116586 avatar

Jacek replied ago:

0 votes Vote down Vote up Reply

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.

User 187203 avatar

digi9ten replied ago:

0 votes Vote down Vote up Reply

Agreed, well worth a read and an Up vote.

User 116586 avatar

Jacek replied ago:

0 votes Vote down Vote up Reply

Thanks!

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.