JCache in itself is isolated, yes. But many implementations (RI, Geronimo simple, JCS) also bring CDI integration code so you can actually use JCache annotations without interacting directly with the CacheManager.
As far as I'm aware there is no implementation that provides this CDI integration for modern (= jakarta) versions of CDI, not even something that is shaded. This and the fact that the spec has been abandoned for more or less +5 years lead me to the conclusion that at least JCache + CDI is dead right now. We could keep a plain JCache impl in TomEE, but IMO this is out of scope. TomEE wants to be a Jakarta EE (+ microprofile) implementation, JCache is neither of those right now. My opinion isn't too strong on this matter, but these are the reasons why I removed this for now. If we find we want to keep it we can always revert. Am 16. September 2024 23:17:19 MESZ schrieb Mark Struberg <strub...@yahoo.de.INVALID>: > There are quite a few specs in the javax namespace still. If they are > isolated it's imo fine to include them. It's just another 'optional' library. > And a very useful indeed! >It's imo a matter of time when it will finally get moved over to jakarta. >LieGrue,strub > > On Monday, 16 September 2024 at 14:15:36 CEST, jungm (via GitHub) > <g...@apache.org> wrote: > > >jungm opened a new pull request, #1497: >URL: https://github.com/apache/tomee/pull/1497 > > See https://issues.apache.org/jira/browse/TOMEE-4402 > JCache was afaik never part of the Jakarta EE specification and JCS is still >using the javax.* namespace for CDI > > So this has been broken since the first TomEE 9 releases but nobody >complained > >