|
From: <jue...@we...> - 2004-09-16 21:05:23
|
> As far as a pluggable cache system goes, I think hibernate's model = works fairly well and I would like to see something like that in Spring. The difference is that Spring does not currently have a use case for = such a cache abstraction itself. This is a bit similar to our current = support for scheduling and also O/R mapping: I prefer to not go for a = complete abstraction here but rather for convenient means to work with = the respective *native* API of existing cache products. =20 So IMO, an EhCacheFactoryBean like Dmitriy proposes is certainly a = useful addition, exposing EhCache's native Cache object for bean = references. I just don't think that trying to abstract that cache API is = the right way to go for Spring: There are potentially too many subtle = features and semantic details involved. Let's rather expose the full = power of the respective native API. =20 Juergen |