0

Is it possible to replicate hibernate's second level cache on different nodes in clustered environment?

Sunny Gupta
  • 6,929
  • 15
  • 52
  • 80

2 Answers2

0

I would suggest to take a look at the following thread hibernate distributed 2nd level cache options: hibernate distributed 2nd level cache options

Community
  • 1
  • 1
davidcyp
  • 649
  • 8
  • 18
0

It's very easy to do it with Infinispan, which is one of the second-level cache providers available for Hibernate, which supports distributed state management out of the box. A standalone Hibernate+Infinispan example to cluster the cache can be found here.

Galder ZamarreƱo
  • 5,027
  • 2
  • 26
  • 34