Published: Oct 14 2011 / 22:10
I was trying to test the javax.cache RI. The article talks about CacheManagerFactory:
"CacheManager cacheManager = CacheManagerFactory.getCacheManager();"
Unfortunately I cannot find it - neither in the cache-api-0.3.jar nor in the cache-ri-impl-0.3.jar.
It got renamed to Caching to follow the convention in JPA.
So "CacheManager cacheManager = Caching.getCacheManager();"
I have updated the article.
I was also trying to test it, so thanks @gregluck for update :-)
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.
Advertising - Terms of Service - Privacy - © 1997-2014, DZone, Inc.