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
  • 7036
  • 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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java