Hi Bruce. Will it be possible to tell me if you've found a solution to your
question ? I am having a problem which seems related to what you are asking. I
want to access a JBossCache instance from several places in the same
application, but am unable to do so. I would have thought that JBossCach
"jacobeukes" wrote : Hi Bruce. Will it be possible to tell me if you've found a
solution to your question ?
In my case, there wasn't a need to use a singleton since when the cache is
deployed as a service, every time I accessed the cache, I was accessing the
Mbean.
"jacobeukes" wrote :
| I
It's best to use JNDI to bind and access your cache instance.
There are many reasons not to create a single instance for all objects, the
main one being each application you may run may want a different POJO cache
configuration.
View the original post :
http://www.jboss.com/index.html?module=