RE: regarding DelegateToGlassFishAnnotationScanner

From: Ed Burns <>
Date: Wed, 8 Jun 2011 18:38:55 -0700

>>>>> On Wed, 8 Jun 2011 22:47:07 +0200, Dünnenberger Hanspeter (KSXK 43) <> said:

HD> aren't EAR level jar's packed into APP-INF/lib always? And how is
HD> that unpacked from the EAR in Glassfish - I really don't know. But
HD> considering jar's from own contextPath and the ones from APP-INF/lib
HD> would at least allow to put shared jar's possibly containing
HD> annotated JSF beans and/or components and still be found by the
HD> scanner.

This can be customized in the application.xml, or in the
META-INF/MANIFEST.MF, but by default it's the top level /lib dir in the
ear. I confirmed this with Shing-Wai, our Servlet impl lead. Also, the
scanning code doesn't look at the location within the ear. Take a look
at the automated test, I expect it tests the case.

| | office: +1 407 458 0017
| homepage:               |
|  6 Business Days til JSF 2.2 Early Draft Review
| 42 Business Days til JSF 2.2 Public Review
| 130 Business Days til JSF 2.2 Proposed Final Draft