Upgrade from Seam 1.0 to 1.1
This is a pretty import tip to almost all Seam users: In order to upgrade your Seam/Facelets application from Seam 1.0 to 1.1, you need to move the JSF EL library JARs from the WAR classpath to the EAR classpath. That is because in Seam 1.1, we have expanded the use of JSF EL in many non-web components.
To do that, you need to first move the el-ri.jar and el-api.jar files from your WAR file's WEB-INF/lib directory to the EAR file. Then, edit the EAR file's META-INF/application.xml file to include the following elements.
-
<application>
-
... ...
-
-
<module>
-
<java>el-ri.jar</java>
-
</module>
-
-
<module>
-
<java>el-api.jar</java>
-
</module>
-
-
</application>
Please refer to the official examples in the distribution for more details.
Of course, with Seam 1.1, you can also package your POJO-based (i.e., no EJB3) Seam applications in WAR files instead of in EAR files. In that case, the EL JARs stay in the WEB-INF/lib.