Why and when to perform this task
Before your application can make use of the scheduler service, you need to configure a scheduler instance using the administrative console. Conceptually, a scheduler is similar to a datasource: you specify various configuration attributes, including a JNDI name where the instance will be bound. Once defined, an application using the scheduler API can look up the scheduler object and call various methods to manage tasks.
Steps for this task