]
John Ament commented on CDI-554:
--------------------------------
Just one comment. ServletContext should probably be app scoped, no?
Additional built-in beans do not have a scope defined
-----------------------------------------------------
Key: CDI-554
URL:
https://issues.jboss.org/browse/CDI-554
Project: CDI Specification Issues
Issue Type: Clarification
Affects Versions: 1.2.Final, 2.0-EDR1
Reporter: Martin Kouba
See section 17.8. Additional built-in beans - a scope is not defined for UserTransaction,
Principal, HttpServletRequest, etc. Maybe it's defined somewhere else but I cannot
find anything.
In Weld, Java EE beans are {{@Dependent}}, HttpServletRequest and ServletContext are
{{@RequestScoped}} and HttpSession is {{@SessionScoped}}.