JEUS Scheduler Guide 

JEUS v7.0 Fix#3

Document Information

Document Name: JEUS Scheduler Guide 

Document Created: 2014-08-29

Software Version: JEUS v7.0 Fix#3

Document Version: v2.1.5


Table of Contents

About This Document
1. Introduction
1.1. Overview
1.2. Scheduler Component Structure
1.3. Scheduler Server
2. Scheduler Programming
2.1. Overview
2.2. JEUS Scheduler Class
2.3. Defining Tasks
2.3.1. Implementing ScheduleListener Interface
2.3.2. Schedule Class Inheritance
2.3.3. Inheriting RemoteSchedule Class
2.4. Obtaining Scheduler Object
2.4.1. Obtaining Scheduler Object in Local Environment
2.4.2. Obtaining a Scheduler Object in Remote Environment
2.5. Registering Tasks
2.5.1. Registering One-Time Tasks
2.5.2. Registering Recurring Tasks
2.5.3. Registering Schedule Task Objects
2.6. Controlling Tasks
2.7. Using Scheduler
2.7.1. Using In a Standalone Environment
2.7.2. Using on JEUS Server
2.7.3. Using in Java EE Component
2.8. Using Job-list
3. Scheduler Configuration
3.1. Overview
3.2. Configuring Job-list
3.3. Configuring Server Scheduler
3.4. Configuring Thread Pool
3.4.1. Shared Thread Pool
3.4.2. Dedicated Thread Pool
3.5. Configuring Client Container
Index

List of Figures

[Figure 1.1] The Scheduler Component in JEUS
[Figure 1.2] Execution Methods by Scheduler Server
[Figure 2.1] Scheduler API Classes
[Figure 3.1] WebAdmin Server List
[Figure 3.2] WebAdmin Scheduler Configuration Page
[Figure 3.3] WebAdmin Scheduler Configuration - Lock Configuration
[Figure 3.4] WebAdmin Scheduler Configurations - Scheduler Configuration
[Figure 3.5] WebAdmin Scheduler Configuration - Adding a Job
[Figure 3.6] WebAdmin Scheduler Configuration - Saving a Job
[Figure 3.7] WebAdmin Scheduler Configuration - Checking the Newly Added Job
[Figure 3.8] WebAdmin Scheduler Configuration - Applying the Added Job
[Figure 3.9] WebAdmin Scheduler Configuration - Lock Configuration
[Figure 3.10] WebAdmin Scheduler Configurations - Shared Thread Pool Configuration (1)
[Figure 3.11] WebAdmin Scheduler Configurations - Shared Thread Pool Configuration (2)
[Figure 3.12] WebAdmin Scheduler Configuration - Lock Configuration
[Figure 3.13] WebAdmin Scheduler Configuration - Dedicated Thread Pool Configuration (1)
[Figure 3.14] WebAdmin Scheduler Configuration - Dedicated Thread Pool Configuration (2)

List of Examples

[Example 2.1] Task Object Example
[Example 2.2] Schedule Object Example
[Example 2.3] RemoteSchedule Object Example
[Example 2.4] Registering Recurring Jobs
[Example 2.5] Registering Schedule Task Objects
[Example 2.6] Calling the ScheduleController.cancel Method
[Example 2.7] Using Scheduler on a Standalone Client
[Example 2.8] Using Scheduler on a Remote Client
[Example 2.9] Using JEUS Scheduler in EJB
[Example 3.1] Shared Thread Pool Configuration in jeusadmin
[Example 3.2] Configuring the Shared Thread Pool of the Scheduler Service via jeusadmin
[Example 3.3] Client Container Configuration : <<jeus-client-dd.xml>>
[Example 3.4] Job-list Configuration: <<jeus-client-dd.xml>>