Introduction: Scheduler
Explore the key concepts pertaining to the scheduler service, a WebSphere programming extension responsible for starting actions at specific times or intervals.
- Task management methods using a scheduler
- The scheduler provides several task management methods.
- Scheduler tasks and J2EE context
- When a task is created using the Scheduler API create() method, the Java 2 Enterprise Edition (J2EE) thread context of the creator is stored with the scheduled task. When the task runs, the original J2EE thread context is reapplied to the thread before calling the customer TaskInfo instance.
- Scheduler daemon
- A scheduler daemon is a background thread that searches for tasks to run in the database.
- The scheduler provides stateless session bean interfaces which allow creating common calendars which can be used by the scheduler and any J2EE application.