You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mark Struberg <st...@yahoo.de> on 2012/10/18 15:03:42 UTC
a small CDI related survey
Hi folks!
I have a slightly offtopic survey for you.
The question is how the current @ApplicationScoped in CDI should behave.
Should it be 1 instance per WAR or 1 instance per EAR?
To make this more clear: in CDI-1.1 we will have both scopes at the end.
Please also note that any scope broader than 1 per WAR file will break @Specializes and @Alternatives in WAR files.
So if you have an EAR project and like to use @Specializes or @Alternatives you need to do that in a jar on the shared classpath.
Here is the survey:
http://www.surveymonkey.com/s/9VNXZDB
LieGrue,
strub
PS: having 1 per ear will mean 1 BeanManager for the whole EAR as well, so
CODI, DeltaSpike and even Seam3 are known to be broken with that
approach I fear ...