What I think about Replicating the second level cache of hibernate ::
Suppose we hit one URL to find an Employee Object and it came into the SessionFactory of say node1 (one node of cluster). [SQL Query will be fired to fetch the Employee Object by Hibernate]
If I again hit the URL to find the Employee Object and this time call goes to node2 (another node of Cluster), The SQL Query will not be fired this time. And data will be fetched from the Second Level cache replicated from node1 to node2.
Kindly validate my understanding. I am trying to create a small project to understand this.