-
Clarification
-
Resolution: Obsolete
-
Major
-
1.0
Since @ApplicationScoped currently is defined in 6.5.2 as to be 'like in the Servlet specification' this means that you will get a new instance for every WebApplication (WAR file).
There is currently no specified CDI scope for providing a single shared instance for a whole EAR.
We could (ab-)use @Singleton for that, but this is currently not well defined at all.
Alternatively we could introduce an own new annotation like @EnterpriseScoped or likes.
- is related to
-
CDITCK-276 check visibility rules for injected proxies
- Resolved
-
CDI-226 Clarify the @Singleton behaviour
- Closed