[cdi-dev] [JBoss JIRA] (CDI-300) The entire RAR recognized as one bean archive

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Nov 26 12:39:21 EST 2012

     [ https://issues.jboss.org/browse/CDI-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir reopened CDI-300:

Ok, the Java EE docs are wrong, the spec says it can only contain libraries.
> The entire RAR recognized as one bean archive
> ---------------------------------------------
>                 Key: CDI-300
>                 URL: https://issues.jboss.org/browse/CDI-300
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>            Reporter: Martin Kouba
>            Assignee: Pete Muir
>             Fix For: 1.1 (Proposed)
> The spec states:
> {quote}
> A library jar, EJB jar, application client jar or *rar archive* is a bean archive if it has a file named beans.xml in the META-INF directory.
> ...
> In an application deployed as an ear, the container searches every bean archive bundled with or referenced by the ear, including bean archives bundled with or referenced by wars and EJB jars contained in the ear. The bean archives might be library jars, EJB jars, rars or war WEB-INF/classes directories. 
> {quote}
> I wonder if the intention wasn't to support *jars packaged inside RAR* instead of the whole RAR. Though I'm not sure about RAR packaging structure.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the cdi-dev mailing list