anonymous wrote : So my question is : is it possible to bind the cache to the jndi. If it
not the case, how can i share it between several webapps or application.
If you're using the cache in replicated mode, the way to do it is by creating a
replicated cache instance in each JVM that needs to access shared state, each such
instance pointing to same jgrousp channel. If you're using the cache in LOCAL mode,
one way to do it is by using a central CacheLoader (e.g. FileCacheLoader or
JdbcCacheLoader), and all caches to share access to it. Though, making a LOCAL cache
bindable to JNDI *might* not be a bad idea, as this is a common practice to share objects
between applications - opinions?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235180#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...