Q:

How should I deploy PrimeFaces 3.5 into Glassfish 3.1.2? 

When I deploy the jar file or Zip file it displays and error message saying there is no installed container capable of handling this application(I use admin console)

A:

Primefaces is a JSF library, not an EAR/WAR/EJB-jar module.  It is supposed to be deployed along with the application (i.e. within an EAR/WAR), not separately on the server.  Include it in you application and it will available after deployment.