JSR-107: JCACHE - Java Temporary Caching API
JSR-107 standardises the Java Temporary Caching API. The deliverables for this JSR, including the specification, the technlogy compatibility kit (TCK) and the reference implementation (RI) can all be found on github.
There’s even a demo containing a unit test demonstrating how the simple map-like API works:
This API should allow developers to choose implementations of a standard API instead of rolling their own caches, allowing features such as write through to be implemented later using the standard.
JSR-107 is scheduled for inclusion in JavaEE 7.
JSR-347: Data Grids for the Java Platform
JSR-347 intends on building on the work of JSR-107.
The JSR makes a distinction between a temporary cache and a data grid. It will likely extend JSR-107 with proposed features such as an asynchronous API, distributed code execution (Map/Reduce) and a colocation API for locating related entries near each other.
As is usual these days, discussion on the JSR is on an open mailing list.
This JSR is targeting Java EE 8, in turn allowing for use of language changes in Java 8 such as the use of closures defined by JSR-335 (Lambda Expressions).