I've done some research and found: http://www.tomitribe.com/blog/2015/06/using-jcache-with-cdi This works, but looking at the POM it uses the Maven Shade plugin to filter out packages (not a huge deal), but this seams like a hack (no disrespect).
I also looked at http://www.knitelius.com/2015/06/29/using-jcache-in-jee-67 which I was unable to get the annotations working or at least see the values in the cache using cache.get after a @CacheResult. I can get JCache working fine without the annotations, but CDI is the route I want to go. So my question is do I wait for things to stabilize (remember this is for production) or is there a JCache CDI solution that works now that I can feel confident that when included in Java EE 8 I will not have to change any code. I'm in production with TomEE 2.0.0 and 7.0.0 and they are very stable. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/JCache-CDI-tp4675943.html Sent from the TomEE Users mailing list archive at Nabble.com.
