]
Antoine Sabot-Durand commented on CDI-226:
------------------------------------------
During EG F2F 2016 we launch the idea of writing a mention about singleton saying its
discourage in EE.
This said it can be postponed to 2.1
Clarify the @Singleton behaviour
--------------------------------
Key: CDI-226
URL:
https://issues.jboss.org/browse/CDI-226
Project: CDI Specification Issues
Issue Type: Clarification
Components: Contexts
Affects Versions: 1.1.EDR
Reporter: Daniel Sachse
Labels: F2F2016, application-scoped, singleton
Fix For: 2.0 (discussion)
The specification should make a more clear statement about the Scope and Lifecycle of the
@Singleton annotation.
ATM it is e.g. totally unclear, in which environment a Singleton is guaranteed to be a
Singleton(JVM, EAR, WAR,... ).