Skip to main content

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

+1 for pruning Managed Beans! We should also start talking about replacing EJB with CDI.
Thanks 
Emily 



On May 31, 2023 at 7:46 PM, <Arjan Tijms> wrote:

Hi,

We removed the managed beans spec from the platform. However, we still have several specs referencing it. From the top of my head, REST, Servlets and Faces still have lingering references to them.

Servlet is even a special case, perhaps. It supports (according to the managed bean spec) @Inject and @PostConstruct, but there are not yet plans to make Servlets CDI beans instead. REST and Faces do have those plans.

Do we (at the platform level) want to set a mandate or strong recommendation that all specs abandon usage of managed beans, and move to CDI (when running inside an EE container, as not all always specs do)?

Thoughts?

Kind regards,
Arjan Tijms
_______________________________________________ servlet-dev mailing list servlet-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/servlet-dev

Back to the top