I am kind of not very clear about the "shared" property of the infinispan loaders configuration..
This is the line from infinispan documentation:
shared (false by default) indicates that the cache loader is shared among different cache instances,
My doubt is, does this property applicable only in case of REPLICATED mode?
My understanding is, when this property is set to true, cache updates are pushed on to only one physical server (among the n-servers of the replicated cluster), and from there, the changes will be replicated using JGroups..
Please correct me if i am wrong..
No, that's right. Basically, the idea is that if you have a shared JDBC database, upon an update, you don't want all nodes to update the same value. It'd be pointless and could lead to issues.