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