<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">My point is that it is not standardized.<br><br>Another point is, that almost no app server provides an option to declare this inside the app archive (WAR). You need to set it through app server configuration, which is often error prone, if not unacceptable in certain scenarios.<br><br>S pozdravom,<br>Ondrej Mihályi </div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Od: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:john.d.ament@gmail.com">John D. Ament</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Odoslané: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎15.‎3.‎2016 23:06</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Komu: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:struberg@yahoo.de">Mark Struberg</a>; <a href="mailto:rmannibucau@gmail.com">Romain Manni-Bucau</a>; <a href="mailto:ondrej.mihalyi@gmail.com">Ondrej Mihályi</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Kópia: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Predmet: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [cdi-dev] Standrdization of option to disable CDI for all appmodules in single file?</span><br><br></div><div dir="ltr">But if its an app server specific thing, I would expect the app server to support it no?<div>Wildfly has a config, glassfish had a config last I looked (was a long while ago).</div><div><br></div><div>John<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Mar 15, 2016 at 2:06 PM Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">In Apache OpenWebBeans we have a mode<br>
<br>
org.apache.webbeans.scanBeansXmlOnly<br>
<br>
See <a href="http://openwebbeans.apache.org/owbconfig.html" target="_blank" rel="noreferrer">http://openwebbeans.apache.org/owbconfig.html</a><br>
<br>
<br>
Maybe Weld could implement something similar?<br>
<br>
LieGrue,<br>
strub<br>
<br>
<br>
<br>
On Tuesday, 15 March 2016, 18:20, Romain Manni-Bucau &lt;<a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a>&gt; wrote:<br>
<br>
<br>
&gt;<br>
&gt;<br>
&gt;Hi Ondrej,<br>
&gt;<br>
&gt;<br>
&gt;would it be possible to push it on ee list too? Scanning is not limited to CDI and at EE level EJB, Servlet etc... can get the exact same issue. A global scanning config would benefit the whole platform and CDI could just reuse it when not in EE.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;Romain Manni-Bucau<br>
&gt;@rmannibucau |&nbsp; Blog | Github | LinkedIn | Tomitriber<br>
&gt;<br>
&gt;2016-03-15 18:12 GMT+01:00 Ondrej Mihályi &lt;<a href="mailto:ondrej.mihalyi@gmail.com" target="_blank">ondrej.mihalyi@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;Hi,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;Some Java EE 6 apps still have issues with implicit scanning, even<br>
though they don't use guava and sometimes it is not possible to put<br>
beans.xml file into the problematic JARs. People are having issues with this when migrating to Glassfish 4 or Payara from Glassfish 3.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;With Payara server, we are thinking of<br>
creating an option in server-specific app descriptor to disable CDI<br>
completely either for whole application or just for specific modules.<br>
&gt;&gt;<br>
&gt;&gt; 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?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;Ondrej<br>
&gt;&gt;<br>
&gt;&gt;_______________________________________________<br>
&gt;&gt;cdi-dev mailing list<br>
&gt;&gt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank" rel="noreferrer">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;<br>
&gt;&gt;Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank" rel="noreferrer">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;cdi-dev mailing list<br>
&gt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank" rel="noreferrer">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;<br>
&gt;Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank" rel="noreferrer">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank" rel="noreferrer">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank" rel="noreferrer">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.</blockquote></div></div></div>
</body></html>