I can either install Tomcat or glassfish server in the production server inorder to deploy my JSF 2.0 project. Which from which versions of these servers are compatible with JSF 2.0? Please give suggestion.
I have developed with Mojarra 2.0.2, Facelets and PrimeFaces, Netbeans 6.8
In general you need at least a server that supports Servlet 2.5 or later for JSF 2.0 (found at coreservlets.com JSF 2.0 tutorial), e.g.:
If not integrated, you then need
jsf-api.jarandjsf-impl.jarfor JSF 2.0If you have a server that supports Java EE 6 (Glassfish 3, JBoss 6, WebLogic 11g) these jar’s are already included.