[cdi-dev] Standrdization of option to disable CDI for all app modules in single file?

Ondrej Mihályi ondrej.mihalyi at gmail.com
Tue Mar 15 13:12:31 EDT 2016


Hi,

Some Java EE 6 apps still have issues with implicit scanning, even though
they don't use guava and sometimes it is not possible to put beans.xml file
into the problematic JARs. People are having issues with this when
migrating to Glassfish 4 or Payara from Glassfish 3.

With Payara server, we are thinking of creating an option in
server-specific app descriptor to disable CDI completely either for whole
application or just for specific modules.
<https://javaee-wg.slack.com/archives/cdi2_0-jsr-365/p1458060907000004>

I think it would make sense to consider some standardization of this
approach in CDI 2, as I've seen issues with this on stackoverflow also with
other app servers. Or is it already planned?

Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20160315/dc122c68/attachment.html 


More information about the cdi-dev mailing list