For GAE, if I have stand alone servlet, I would use Where do I initialize variables (like cache here) per servlet instance with Click? Thanks
// --------------------------------
public void init() throws ServletException {
try {
CacheFactory cacheFactory = CacheManager.getInstance().getCacheFactory();
cache = cacheFactory.createCache(Collections.emptyMap());
} catch (CacheException e) {
log.severe( "could not init Cache" );
}
}
