PrimeFaces Cookbook (Second Edition). All examples are compatible with PrimeFaces 5.x.
- Install Git as described in the Pro Git book.
- Install Maven 3 if you don't have it as this project is a Maven based project. You might need a JDK installation instead of a JRE for running Maven.
- Install WildFly or Apache TomEE if you don't have it installed on your local.
Compile and Run Project
Open your console / terminal window and clone the repository with
git clone git://github.com/ova2/primefaces-cookbook.git
You can now explore the source code with samples, compile and run the project. To install the project, go to the project root folder primefaces-cookbook and type the following command
The WAR file is located in the target folder below project root. The demo web application is prepared to run with PrimeFaces 5.2 and JSF 2.2.