<div dir="ltr">Hi Ondrej,<div><br></div><div>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.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br><span style="font-size:small">Romain Manni-Bucau</span><br><a href="https://twitter.com/rmannibucau" target="_blank">@rmannibucau</a> |  <a href="http://rmannibucau.wordpress.com" target="_blank">Blog</a> | <a href="https://github.com/rmannibucau" target="_blank">Github</a> | <a href="https://www.linkedin.com/in/rmannibucau" target="_blank">LinkedIn</a> | <a href="http://www.tomitribe.com" target="_blank">Tomitriber</a></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-03-15 18:12 GMT+01:00 Ondrej Mihályi <span dir="ltr">&lt;<a href="mailto:ondrej.mihalyi@gmail.com" target="_blank">ondrej.mihalyi@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span>Hi,<br></span><div><div><span><br></span></div><span>Some Java EE 6 apps still have issues with implicit scanning, even 
though they don&#39;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.<br></span><span></span><br><span></span><div><span>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. </span>

                


                        




                <div>


                

        </div>


                

                

        <div>
                
                </div><a href="https://javaee-wg.slack.com/archives/cdi2_0-jsr-365/p1458060907000004" title="Today at 5:55:07 PM&lt;br&gt;Click to open in archives" target="_blank"><span></span></a><div>
                <span><span></span></span>
        </div>

        <div>
                        
                
                <br><span></span>
                

                        <span>I think it would make sense to consider some standardization of this approach in CDI 2, as I&#39;ve seen issues with this on stackoverflow also with other app servers. Or is it already planned?<span class="HOEnZb"><font color="#888888"><br><br></font></span></span></div><span class="HOEnZb"><font color="#888888"><div><span>Ondrej<br></span></div></font></span></div></div></div>
<br>_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">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></blockquote></div><br></div>