1 Reply Latest reply on Jan 4, 2008 9:06 AM by Manik Surtani

    Singleton TreeCache Provider

    Kalyan Newbie

      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.