Andrus Adamchik created CAY-2223: ------------------------------------ Summary: JCacheQueryCache - a query cache provider to plug in JCache implementers Key: CAY-2223 URL: https://issues.apache.org/jira/browse/CAY-2223 Project: Cayenne Issue Type: Task Reporter: Andrus Adamchik Assignee: Andrus Adamchik Fix For: 4.0.M5
JCache is becoming a de-facto standard for Java caching (EhCache and many others implement it). It has its own pluggabilty mechanism via ServiceProvider. So if we give users an easy way to hook up JCache, they can add the actual providers just by adding them to classpath. So I am thinking of a cayenne-jcache auto-loadable module. The contents of JCacheQueryCache can be borrowed from Bootique [1]. We need to configuration options: * Cayenne bootstraps JCache * Application bootstraps JCache and hangs it to Cayenne. [1] https://github.com/bootique/bootique-cayenne/blob/master/bootique-cayenne-jcache/src/main/java/io/bootique/cayenne/jcache/JCacheQueryCache.java -- This message was sent by Atlassian JIRA (v6.3.15#6346)