Hi,
I want to configure JBossCache as a secondary cache in my application which uses Hibernate to load the data. I have multiple databases to connect to and to load data from each of them.
I want to be able to make use of the same instance of JBoss Tree Cache to be shared across all the SessionFactories that I have in my JVM. Hence I want it to be a singleton. EHCache provides this facility with SingletonEHCacheProvider implementation. Is there anything similar in JBossCache as well?
Thanks,
Kalyan.
How do you obtain your JBoss Cache instance right now? If it is shared via JNDI or JMX, then there's your singleton.