[cdi-dev] [servlet-spec users] [jsr369-experts] [116-CDIRelatedBeansInServletSpec] PROPOSAL

arjan tijms arjan.tijms at gmail.com
Fri Nov 21 14:33:03 EST 2014


Hi,

On Fri, Nov 21, 2014 at 7:58 PM, Mark Struberg <struberg at yahoo.de> wrote:
>>"logical app" what's wrong with @ApplicationScoped especially for JMS?
>
> We had this discussion quite some time ago. If you like to have fun then read up CDI-129 ;)
> It basically boils down that the majority of CDI EG members wanted to behave @ApplicationScoped as "1 per EAR", so we miss the "1 per Module/WebApp".

This has indeed been discussed before and remains a problematic issue.
Don't want to go too much off-topic here, but the scope of extensions
and @Named within an EAR with multiple wars suffers from a similar
issue. See e.g.
http://balusc.blogspot.com/2013/10/cdi-behaved-unexpectedly-in-ear-so.html

Kind regards,
Arjan


More information about the cdi-dev mailing list