PrimeFaces - Indeterminate ProgressBar Example

Following example shows how to use PrimeFaces ProgressBar where the progress task is indeterminate i.e. it is not known when task will finish. Indeterminate progressBar shows a cyclic animation without specific steps and the amount of progress indicated.

As seen in the comments, most of the methods in RequestContext have been deprecated in PrimeFaces 6.2. These methods are replaced in the helper class org.primefaces.PrimeFaces.

Output

Example Project

Dependencies and Technologies Used:

primefaces 6.2:
PrimeFaces is one of the most popular UI libraries in Java EE Ecosystem and widely used by software companies, world renowned brands, banks, financial institutions, insurance companies, universities and more.
[Description from primefaces-6.2.pom]

jsf-api 2.2.14:
This is the master POM file for Oracle's Implementation of the JSF 2.2 Specification.

jsf-impl 2.2.14:
This is the master POM file for Oracle's Implementation of the JSF 2.2 Specification.