Version 2

    The idea is that a "container" maps a path within an archive. The following table shows how each container is mapped inside each spec archive:

     

    Container TypeJavaArchiveWebArchiveEnterpriseArchiveResourceArchive
    ClassContainer//WEB-INF/classesN/AN/A
    ResourceContainer//WEB-INF/classes/META-INF//
    ManifestInformationContainer/META-INF/WEB-INF/classes/META-INF/META-INF/META-INF
    LibraryContainerN/A/WEB-INF/lib/lib/
    WebInformationContainerN/A/WEB-INF/N/A

    N/A

    WebContainerN/A/N/AN/A
    ResourceAdapterContainerN/AN/AN/A/META-INF
    EnterpriseContainerN/AN/A
    N/A
    - ApplicationResources

    /META-INF
    - Modules

    /