Task Scheduling in Java / Spring

There is a requirement in the project that will have a planned task that will perform certain work.

The project is based on Spring, and the planned task will be part of the app war. I have never before implemented such functionality.

I heard about Quartz. Also, I read somewhere that Spring provides some functions for scheduling tasks. So, I thought, if I already use Spring, then why go for some other API (Quartz).

I'm not sure which one to use? What are the pros and cons of one over the other?

Please suggest what would be the best way to fit my requirement.

+4
source share
1 answer
+7
source

Source: https://habr.com/ru/post/1434671/


All Articles