Hi all!

Most webapplication developers will probably know the concept of skinny
WARs which is described here [0].

When I have a skinny WAR in an EAR everthing from WAR!WEB-INF/lib is
excluded and goes into the lib-folder of the EAR. Thus, it is in the WARs
classpath.

However, when I use JSF component libraries like RichFaces or OmniFaces
they contain classes that are annotated with various JSF annotations
(@FacesComponet, @FacesConverter, etc.). Unfortunately JSF only scans the
WAR and not JARs in the classpath of the WAR that are located in the EAR.
This is correct behaviour according to the JSF 2.0 specification
(JSR-314), section 11.5.1 [1].

So my question is: how can this problem be solved for skinny WARs? Or are
skinny WARs considered obsolete these days?

Many thanks in advance,
- martin

[0] http://docs.codehaus.org/display/MAVENUSER/Solving+the+Skinny+Wars+problem
[1] http://jcp.org/en/jsr/detail?id=314

Attachment: signature.asc
Description: PGP signature

Reply via email to