Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] [External] : Re: [cdi-dev] Discussion: The new structure of EE integration sections



On Tue, 21 Nov 2023 at 08:45, Ladislav Thon via jakartaee-platform-dev <jakartaee-platform-dev@xxxxxxxxxxx> wrote:
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.

Kind regards,
Arjan Tijms


Back to the top