hibernate: ehcache vs infinispan
multiple instances of Cachemanager
dynamically create hibernate sessionfactories need a generic and simple way to cache.
multiple instances of Cachemanager could not be created with ehcache since this caching library checks for naming conflicts.
ehcache would have to be configured via different xml files in order to set different names.
dynamic hibernate sessions need a generic and simple way to cache.