Spring parties and quartz jobs?

I am new to batch processing. I am trying to start with a simple scheduler and work. But I got confused b / w spring parties and quartz tasks. My understanding

Quartz: - quartz provides both frameworks and the scheduler framework and the scope of work (in case I do not want to use spring batch jobs). Right?

Spring Package:. It provides only a framework of work. I always send using the Quatz schecduler to schedule spring batch jobs. Does spring provide its own scheduler?

+5
source share
1 answer

Quartz is a planning structure. How to "do something every hour or every last Friday of the month"

Spring Package is the structure that defines this β€œsomething” to be executed. You can define a task consisting of steps. Usually a step is something that consists of an element reader, an additional element processor, and an element writer, but you can define your own stock. You can also specify a Spring package for commit for every 10 items and more.

You can use Quartz to run Spring batch jobs.

So basically Spring Batch determines what needs to be done, Quartz determines when it needs to be done.

+18
source

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


All Articles