What you need for this book
The PrimeFaces core functionality only requires a Java 5+ runtime. The PrimeFaces library is just one single JAR file. With the help of the Maven tool, you can easily get the artifact for the PrimeFaces library (for more information on installing Maven, visit http://maven.apache.org). Please note that Maven demands a Java Development Kit installed on your local environment instead of on the Java Runtime Environment. Alternatively, you can download the JAR directly from the Maven central repository (http://search.maven.org) and add it to the project's classpath.
The showcase to PrimeFaces Cookbook, Second Edition, is hosted on GitHub at https://github.com/ova2/primefaces-cookbook/tree/second-edition. The homepage on GitHub contains all the details on how to clone the Git repository with the source code and build and run the showcase web application in your local environment.