Tracy Burroughs
(tkb@xxxxxxxxxx)
WebSphere Application Server Development
IBM Rochester, Dept AAW, Bldg H315/050-2
2800 37th Street NW, Rochester MN 55901-4441
On Tue, 21 Nov 2023 at 08: 45, Ladislav Thon via jakartaee-platform-dev <jakartaee-platform-dev@ eclipse. org> wrote: There are a few specifications that are even
more fundamental than CDI: Common Annotations, Dependency Injection (part
There are a few specifications that are even more fundamental than CDI: Common Annotations, Dependency Injection (part of the CDI project), Interceptors. (To be honest, the Interceptors spec, having to serve both CDI and EJB, is a strange
beast and doesn't really serve CDI very well. If I could, I would fold it into CDI.)
Absolutely, I started a discussion about doing exactly this some time ago.
There's a couple of options we could consider:
1. Fold Interceptors as we have it today into CDI, keep the existing Interceptors around as legacy for EJB
2. Fold Interceptors as we have it today into CDI, also fold it into EJB. Prune the existing Interceptors
3. Fold Interceptors as we have it today into CDI, then rebase EJB formally on CDI (state in the spec that every Enterprise Bean not just integrates with CDI, but *IS* a CDI Bean). Prune the existing Interceptors.