JEUS Scheduler Guide 

JEUS v7.0 Fix #4

Restricted Rights Legend

All TmaxSoft Software (Tmax®) and documents are protected by copyright laws and international convention. TmaxSoft software and documents are made available under the terms of the TmaxSoft License Agreement and may only be used or copied in accordance with the terms of this agreement. No part of this document may be transmitted, copied, deployed, or reproduced in any form or by any means, electronic, mechanical, or optical, without the prior written consent of TmaxSoft Co., Ltd.

Nothing in this software document and agreement constitutes a transfer of intellectual property rights regardless of whether or not such rights are registered) or any rights to TmaxSoft trademarks, logos, or any other brand features.

This document is for information purposes only. The company assumes no direct or indirect responsibilities for the contents of this document, and does not guarantee that the information contained in this document satisfies certain legal or commercial conditions.

The information contained in this document is subject to change without prior notice due to product upgrades or updates. The company assumes no liability for any errors in this document.

Trademarks

JEUS® is registered trademark of TmaxSoft Co., Ltd. Other products, titles or services may be registered trademarks of their respective companies.

Open Source Software Notice

Some modules or files of this product are subject to the terms of the following licenses. : APACHE2.0, CDDL1.0, EDL1.0, OPEN SYMPHONY SOFTWARE1.1, TRILEAD-SSH2, Bouncy Castle, BSD, MIT, SIL OPEN FONT1.1

Detailed Information related to the license can be found in the following directory : ${INSTALL_PATH}/lib/licenses

Document Information

Document Name: JEUS Scheduler Guide 

Document Created: 2017-03-13

Software Version: JEUS v7.0 Fix #4

Document Version: v2.1.6


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>>