"[EMAIL PROTECTED]" wrote : I don't understand the second restriction great either. Gavin? | | The third one I think is saying "give me all the classes from any shared (lib/) jar that has web-beans.xml in it's metadata path". Gavin, is that right?
He's talking about the spec defined behaviour (although it is not actually recommended that people use it) see the JavaEE5 spec 8.3.1.3.d anonymous wrote : | Another exception to this rule is JAR files located in the library | directory (usually named lib) in the application package. Note that the | presence of component-declaring annotations in shared artifacts, such as | libraries in the library directory and libraries referenced by more than one | module through Class-Path references, can have unintended and | undesirable consequences and is not recommended. | The reason its not recommend is because if you have for example two ejb jars that reference the same helper jar via the manifest they could both get processed for an ejb contained in the helper jar which could in turn lead to the ejb constructed twice and then not able to bind the remote interface to the same jndi name twice. And other similar problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189412#4189412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189412 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user