Well, simply read the docs, as usual:
- Infinispan: http://community.jboss.org/wiki/UsingInfinispanasJPAHibernateSecondLevelCacheProvider or http://community.jboss.org/wiki/InfinispanTechnicalFAQs (section named "Hibernate 2nd Level Cache")
But i want to setup the new machine as a second level cache server for hibernate.
i did not get any think which help me to setup the second level cache of hibernate on another machine.
So you want to run a first machine if an Hibernate-powered application, configure it such that Hibernate on this machine would use an Infinispan remote cache as 2nd level cache hosted on another machine ?
Sorry, but I don't see the rational behind this setup... usually, the 2nd level cache is kept on the same host as Hibernate...
Anyway, Infinispan has something called RemoteCache which is simply a client to access a remote cache (hence the name). Maybe you should look into that direction...
Thanks for reply
yes. i am looking a remote cache machine.