Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] [servlet-dev] Pruning managed beans from the component specs

An EE 11 issue for tracking the 3.0 release of Jakarta Annotations for
the removal of the jakarta.annotation.ManagedBean annotation:

https://github.com/jakartaee/jakartaee-platform/issues/701

On Tue, Jun 6, 2023 at 10:07 AM Arjan Tijms <arjan.tijms@xxxxxxxxxxx> wrote:
>
> Hi,
>
> On Tue, 6 Jun 2023 at 16:46, Emily Jiang via jakartaee-platform-dev <jakartaee-platform-dev@xxxxxxxxxxx> wrote:
>>
>> 3. All other specs that need to use managed beans should update to say CDI Beans instead and use @Inject for injection.
>
>
> In principle true, but some specs are implemented standalone by vendors who don't know what CDI is, and additionally because of their history and usage outside of Jakarta EE, can't really start depending on CDI.
>
> As mentioned above Servlet being the prime example.
>
> Of course when Servlets are being used inside Jakarta EE they can update to CDI Beans.
>
> Kind regards,
> Arjan Tijms
>
>
>
>
>
>
>
>
> _______________________________________________
> jakartaee-platform-dev mailing list
> jakartaee-platform-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev


Back to the top