myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <>
Subject a small CDI related survey
Date Thu, 18 Oct 2012 13:03:42 GMT
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:


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 ...

View raw message