Details
-
Clarification
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
In Java SE, a user might be tempted to share a contextual reference for a normal scoped bean (client proxy) between multiple "deployments" of a single application, e.g.:
- start CDI container
- get a reference
- stop CDI container
- start CDI container again and try to use the stored reference.
I believe such a reference should not be valid after an application stopped (contexts are destroyed, etc.). Right now, it seems to be undefined.
See also WELD-2190.