How to schedule tasks in Java EE 7 [closed]

0

I have a web app made in Java EE 7, I want to know how I can include scheduled tasks in it, I have reviewed Scheduling Tasks but what I still do not understand is about where I configure that, in what configuration file I should do it and how I execute, for example I want to execute a task every 24 hours, where I program it, how I execute it.

I hope you can help me with that, thanks in advance.

    
asked by Carlos Vega 31.01.2017 в 18:00
source

1 answer

0

In EJB, with Scheduling, you create a method with the annotation assigning the time, and it executes, but you have to be able to raise the EJB in an application server, learning that, the rest is easy

    
answered by 31.01.2017 / 21:36
source