We are using tree cache in jboss 4.2.x, we are planning to s开发者_JS百科witch to jboss6.x, will jboss 6.x supports tree cache?
From the JBoss Wiki:
As of version 6.0.0.CR1, Infinispan replaced JBoss Cache as the distributed caching technology upon which JBoss AS clustering services are built.
Now, it's possible that you may be able to package a downloaded copy of JBossCache 1.4 (which is the version that comes with JBossAS 4.2) inside your application and deploy it on JBossAS 6.x, but I suspect this is unlikely to work - JBossCache 1.4 relies on some very old shared JBoss libraries.
I think you're going to have to refactor your code to work with Infinispan rather than JBossCache, if you want to migrate from AS 4.2 to 6.x.
精彩评论