My use case is as follows:
For accessing IS from webapp, is the method below the recommended way ?
@Resource(lookup="java:jboss/infinispan/hibernate") private org.infinispan.manager.CacheContainer container;
For remote client, I'm looking at ispncon,which seems to be perfect fit, but I don't know how to configure Infinispan inside JBoss AS 7 to "open" the HotRod/memcached/REST servers.
What is the "right"/recommended protocol to be used when accessing Infinispan remotely? How to configure this?
AS7 does not deploy any remote Infinispan servers. It only deploys embedded Infinispan caches.
For accessing embedded Infinispan instances from AS7, see: