There're some changes in PrimeFaces 2.0 compared to 2.0.RC. p:resources is not necessary as resources are included inside h:head via JSF 2.0 resource api. Also resource servlet configuration in web.xml is not needed for servlet 3 enviroment like glassfish as it's auto registered. These make PrimeFaces even easier to use with JSF 2.
With NetBeans 6.9.1 and Primefaces 2.1 the following section within web.xml must be removed for the application to deploy correctly:
<servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> <url-pattern>*.jsf</url-pattern> </servlet-mapping>