Table of Contents Table of Contents Title and Copyright Information Preface Audience Documentation Accessibility Diversity and Inclusion Related Resources Conventions 1 Using the Timer and Work Manager API Overview Timer API Overview TimerManager Interface Creating and Configuring a TimerManager Suspending a TimerManager Stopping a TimerManager The TimerListener Interface The Timer Interface Using the Timer API Implementing the Timer API Timer Manager Example Using the Job Scheduler Life Cycle of Timers Implementing and Configuring Job Schedulers Database Configuration Data Source Configuration Leasing JNDI Access within a Job Scheduler Canceling Jobs Debugging Unsupported Methods and Interfaces Work Manager API Work Manager Interfaces Work Manager Deployment Automatic Binding of the Default CommonJ Work Manager Work Manager Example