Salut All, just checked in 2 new cache service implementations.
EHCache (http://ehcache.sf.net) is the default caching mechanism of the Hibernate persistence framework with minimal dependencies (commons-logging, commons-collections, xerces) and really easy to configure. TODOs for svc-cache-ehcache: - Javadoc - Documentation for the keel manual JBossCache (http://www.jboss.org/products/jbosscache) has two implementations (TreeCache and TreeCacheAop). For svc-cache-jbosscache I used the TreeCacheAop implementation. As I am certainly not able to explain it better than the JBossCache's authors ;-) I'd like to cite their description: "The JBossCache component, TreeCacheAop, is a replicated and transactional "object-oriented" cache. By "object-oriented", we mean that TreeCacheAop provides tight integration with the object-oriented Java language paradigm, specifically it automatically : 1) manages object mapping and relationship, 2) provides support for inheritance relationship between "advised" POJOs (plain old Java object), and 3) preserves object identity, for a client under both local and replicated cache modes." TODOs for svc-cache-jbosscache: - Javadoc - Documentation for the keel manual - add configuration for transaction management and test it - add configuration for cache replication and test it - add possibility to chose the cache implementation (TreeCache or TreeCacheAop) - find out jar versions and conflicts with other services There were some issues with the new cache services: - jgroups.jar of jboss cache conflicted with the version used by svc-persist-hibernate (2.2.1). FIX: I removed the jgroups dependency in svc-persist-hibernate (only necessary if you use a replicated oscache as a caching mechanism) - ehcache version 0.7 of svc-persist-hibernate was incompatible with svc-cache-ehcache. FIX: I upgraded the ehcache jar in svc-persist-ehcache. I added placeholder chapters in the keel manual (hope to add more soon) and I started an abstract junit test class (still very simple) for all cache services. All cache services pass the tests except for jboss cache which does not return the expected number of objects (can be considered as minor problem). And finally I added the necessary properties in keel-build/example-projects. Tell me if I forgot/broke something... Cheers, Aleks http://keelframework.org/documentation Keelgroup mailing list [EMAIL PROTECTED] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com