Skip to main content

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

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







 

Back to the top