1 Reply Latest reply: Oct 4, 2011 10:21 AM by Galder Zamarreño RSS

How to access JBossAS7's Infinispan remotely via ispncon ?

Hendy Irawan Newbie

Hi,

 

My use case is as follows:

  • store (some of) the webapp configuration inside Infinispan
  • the data is persisted (not just cache)
  • Infinispan is powered by JBossAS7's bundled (i.e. not standalone Infinispan)
  • the data can be accessed remotely via client

 

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?

 

Thank you.