jakartaee / rest

Jakarta RESTful Web Services
Other
351 stars 114 forks source link

Remove servlet beans from being created by Jakarta REST #1204

Open jansupol opened 5 months ago

jansupol commented 5 months ago

Servlet 6.0 (and one of the Weld modules, too) creates beans for

While it is perfectly fine to support injection using @Context, it should be the responsibility of the servlet to create those CDI beans.

The same is for:

jamezp commented 5 months ago

+1 this makes sense to me.