There are two type of task in my JSF2.0 web.
- Invoke a third party java application only once at defined time
- Invoke and get the data from some third party application repeatedly in some specified interval let say 2min
AFAIK JSF supports Quartz Scheduler
but we have TimerTask
in JavaSE. Can somebody explain me which API I should use in both the above mentioned cases and how? Any example code?
Thank you.