I have some API requests generated on a schedule.
I can't use JSF CDI beans as they do not have a schedule or timer function.
I cant use a scheduler in stateless EJB as it can not access FacesContext which I use to generate API request.
How can I have periodic API requests generated from a JSF / EJB application.