users@glassfish.java.net

Re: annotations in the lib directory

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Fri, 05 May 2006 11:25:31 -0700

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
>