Terracotta With Hibernate and EHCache
Posted
by Joe Biron
on Stack Overflow
See other posts from Stack Overflow
or by Joe Biron
Published on 2010-01-24T01:00:42Z
Indexed on
2010/04/03
22:03 UTC
Read the original article
Hit count: 419
Head swimming with the product name soup at http://www.terracotta.org. Need someone to help clarify what I need.
Background: app has some "legacy" persistence code that does not use Hibernate, but has a home-grown cache implementation. New entities are Hibernate enabled.
What I want: to use Terracotta for Hibernate 2nd level cache. I think I then want to slide out the home-grown cache impl and slide in ehcache (very similar semantically to home-grown version) - obviously I want Terracotta to back that EHCache as well.
Confused with: Will I be telling Hibernate that ehcache is it's cache provider, then configure ehcache to use terracotta?
So
(hibernate | legacy-persistence)-> ehcache -> terracotta
Am I on the right track? Forgive the newb question but the terracotta.org site really confuses me since so much of it it trying to sell me the commercial varieties.
© Stack Overflow or respective owner