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
  • 6938
  • 23

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.

Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax