task #10077
Updated by Andreas Müller over 1 year ago
Need to check how this works together with hibernate and spring caching. There is a branch "feature_10077" (still local on cdmlib2/AM) for some changes. In this context we should unify cache handling as there is CdmCacherBase and EhCacheConfiguration which both do define a getDefaultCacheConfiguration(). As configuration is now created by builder classes and are probably immutable we may need to change architecture a bit as EhCacheConfiguration and EhCacheDiskStoreConfiguration are both spring configurations. Note: Don't forget to remove workaround class net.sf.ehcache.util.PreferredLoaderObjectInputStream from taxeditor.cdmlib (see #10075) after upgrading. Note2: Don't forget to improve workaround for oaipmh (see AbstractOaiPmhController comments on cacheManager), #3408 and springmodules comments in #9359 (e.g. use EhCacheXXX in spring-context-support ) Useful Links: * migration: https://www.ehcache.org/documentation/3.10/migration-guide.html * disk storage: https://www.ehcache.org/documentation/3.10/tiering.html#disk * general: https://www.ehcache.org/documentation/