PrimeFaces provides poll component, which can be used to perform actions via JSF managed bean methods, periodically on regular intervals.
Suppose we want to display current time on web pages. We can do it by using poll component. We can update the
currentTime view component using
<p:poll> component to display current time for every second without reloading the entire page.