<html><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:8px"><div id="yui_3_16_0_1_1430573815634_30974" dir="ltr">Actually the rules are still not clear. Section 5 and 12 contradict each other. The EE6 RI, JBossAS6 and TomEE and WAS did behave like in section 5 (1 BDA per ee-module) whereas Weld-2 behaves like in section 12. <br></div><div id="yui_3_16_0_1_1430573815634_31343"><br><span></span></div><div id="yui_3_16_0_1_1430573815634_31342"><span>LieGrue,</span></div><div id="yui_3_16_0_1_1430573815634_31341"><span>strub</span></div> <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: Helvetica Neue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 8px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Saturday, 2 May 2015, 10:13, Antoine Sabot-Durand <antoine@sabot-durand.net> wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <br><br> <div class="y_msg_container"><div id="yiv3229339854"><div><div>Hi Emily,</div><div><br clear="none"></div><div>The rules) apply to each jar (archive). There is no merging, thus an app can contain three types of archives :</div><div>Non bean archives,</div><div>Implicit bean archives,</div><div>Explicit bean archives. <br clear="none"><br clear="none"><div>Antoine Sabot-Durand</div><div><br clear="none"></div></div><div><br clear="none">Le 1 mai 2015 à 23:03, Emily Jiang <<a rel="nofollow" shape="rect" ymailto="mailto:emijiang6@googlemail.com" target="_blank" href="mailto:emijiang6@googlemail.com">emijiang6@googlemail.com</a>> a écrit :<br clear="none"><br clear="none"></div><blockquote type="cite"><div><div dir="ltr"><div><div><br clear="all"></div>I have a question on bean archives. <br clear="none"><br clear="none"></div><div>For the jars under web-inf\lib, are they individual bean archives or they should be merged with web-inf\classes files and use the beans.xml under web-inf\ to form one bean archive?<div class="yiv3229339854yqt6883291386" id="yiv3229339854yqtfd58992"><br clear="none"><br clear="none"></div></div><div class="yiv3229339854yqt6883291386" id="yiv3229339854yqtfd42008"><div>If they are merged together to form one bean archive, what will happen if they have their own beans.xml under Meta-inf dir?<br clear="none"></div><div><br clear="none"></div><div>Below is the what spec says, but it does not mention the jar under web-inf\lib. The spec should make this situation clear.<br clear="none"></div><div><br clear="none"></div>In the CDI1.2 spec:<br clear="none">When determining which archives are bean archives, the container must consider:<br clear="none">• Library jars, EJB jars or application client jars<br clear="none">• The WEB-INF/classes directory of a war<br clear="none">• Directories in the JVM classpath<br clear="none">The container is not required to support application client jar bean archives.<br clear="none">A Java EE container is required by the Java EE specification to support Java EE modules. Other<br clear="none">containers may or may not provide support for war, EJB jar or rar bean archives.<br clear="none">The beans.xml file must be named:<br clear="none">• META-INF/beans.xml , or,<br clear="none">• in a war, WEB-INF/beans.xml or WEB-INF/classes/META-INF/beans.xml.<br clear="none"><br clear="none"><br clear="none"><div><br clear="none"><div>-- <br clear="none"><div class="yiv3229339854gmail_signature">Thanks<br clear="none">Emily<br clear="none">=================<br clear="none">Emily Jiang<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:ejiang@apache.org" target="_blank" href="mailto:ejiang@apache.org">ejiang@apache.org</a><br clear="none"></div>
</div></div></div></div><div class="yiv3229339854yqt6883291386" id="yiv3229339854yqtfd19209">
</div></div></blockquote><div class="yiv3229339854yqt6883291386" id="yiv3229339854yqtfd31142"><blockquote type="cite"><div><span>_______________________________________________</span><br clear="none"><span>cdi-dev mailing list</span><br clear="none"><span><a rel="nofollow" shape="rect" ymailto="mailto:cdi-dev@lists.jboss.org" target="_blank" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a></span><br clear="none"><span><a rel="nofollow" shape="rect" target="_blank" href="https://lists.jboss.org/mailman/listinfo/cdi-dev">https://lists.jboss.org/mailman/listinfo/cdi-dev</a></span><br clear="none"><span></span><br clear="none"><span>Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a rel="nofollow" shape="rect" target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0.html">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.</span></div></blockquote></div></div></div><br><div class="yqt6883291386" id="yqtfd09675">_______________________________________________<br clear="none">cdi-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:cdi-dev@lists.jboss.org" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br clear="none"><a shape="rect" href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br clear="none"><br clear="none">Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a shape="rect" href="http://www.apache.org/licenses/LICENSE-2.0.html" 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.</div><br><br></div> </blockquote> </div> </div> </div></div></body></html>