Hi, Vince
If the archive contains an application.xml, we will only process the
sub modules specified in the application.xml and will not process any
other jars at the application root level. However, when the archive does
not contain an application.xml, we don't have other choices but to
process all the root level jars.
Thanks,
- Hong
> So, is the inverse true:
>
> a jar filled with utility classes placed outside the lib directory can
> have a negative impact on the deployment speed of an ear, since the
> deployment code needs to "see" if the file contains Java EE annotations?
>
> Thanks,
> vbk
>
> Hong Zhang wrote:
>
>> Hi, Vince
>> If you specify this other-ejb.jar in the application.xml as an ejb
>> jar, it will be processed. Otherwise, it will not be processed as ejb
>> jar.
>>
>> Thanks,
>>
>> - Hong
>>
>> vince kraemer wrote:
>>
>>> If I have a jar file that has Java EE 5 annotations (like @EJB) in
>>> the lib directory of an ear file (my.ear:!/lib/other-ejb.jar) are
>>> the EJBs from other-ejb.jar detected?
>>>
>>> Thanks,vbk
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>