Hi,
The CDI 1.2 spec specifies producers for HttpServletRequest,
HttpSesison, and the ServletContext.
Considering all artefacts in Java EE that would make sense to be
injected, it seems a bit arbitrary that CDI itself contains producers
for these Servlet types.
Wouldn't it be better (cleaner) to have those producers in the Servlet
spec instead?
Kind regards,
Arjan Tijms