CHAPTER 11

image

Task Scheduling in Spring

Task scheduling is a common feature in enterprise applications. Task scheduling is composed mainly of three parts: the task (which is the piece of business logic needed to run at a specific time or on a regular basis), the trigger (which specifies the condition under which the task should be executed), and the scheduler (which executes the task based on the information from the trigger).

Specifically, this chapter covers the following topics:

  • Task scheduling in Spring: We discuss how Spring supports task scheduling, focusing on the TaskScheduler abstraction introduced in Spring 3. We also cover scheduling ...

Get Pro Spring,Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.