[webbeans-dev] ejb-jar.xml is not in the root

Pete Muir pmuir at redhat.com
Fri Nov 14 08:50:59 EST 2008


We also have a forum topic on this:

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189397#4189397

Here are some questions about the discover:

> * any web-beans.xml file in any root directory of the application  
> classpath,

> * any ejb-jar.xml file in any root directory of the application  
> classpath that also has a web-beans.xml file, and


What does this mean? It seems more specific than the first one.

> * any Java class in any archive or directory in the classpath that  
> has a web-beans.xml file in the root directory.

I think this means:

"give me all the classes from any shared (lib/) jar that has web- 
beans.xml in it's metadata path". Gavin, is that right?


On 14 Nov 2008, at 23:39, Pete Muir wrote:

> Whilst working on the web bean discovery, Ales and I hit a spec  
> issue. In 10.1 of the current spec 20081105 it says:
>
> * any ejb-jar.xml file in any root directory of the application  
> classpath that also has a web-beans.xml file, and
>
> but ejb-jar.xml is placed in META-INF/
>
> Also, Ales thinks that web-beans.xml should be in META-INF/ as this  
> is consistent with other specs.
>
> Also this causes some problems when doing a deployer for JBoss 5,  
> Ales can explain more, as I don't understand exactly why.
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev




More information about the weld-dev mailing list