JSF Libraries: PrimeFaces

Posted By on April 30, 2016

Download PDF
JSF Event Handling and Database Access
Overview of Hibernate

PrimeFaces is a open source User Interface (UI) component library for JavaServer Faces (JSF) based applications.


  • Over 100 UI components
  • Ajax Framework
  • Mobile UI Kit
  • Push Framework
  • Dialog Framework
  • Client Side Validation
  • Theme Engine
  • Search Expression Framework


PrimeFaces is a lightweight library with one jar, zero-configuration and no required dependencies. You just need to downloadPrimeFaces, add the primefaces-{version}.jar to your classpath and import the namespace to get started.


PrimeFaces namespace is necessary to add PrimeFaces components to your pages.

  1. xmlns:p=“http://primefaces.org/ui”

For PrimeFaces Mobile, the namespace would be;

  1. xmlns:p=“http://primefaces.org/mobile”

Test Run

That’s it, now you can add a test component to see if everything is ok.

<html xmlns=“http://www.w3.org/1999/xhtml”




<p:spinner />


JSF Event Handling and Database Access
Overview of Hibernate

Download PDF