Geronimo Quartz Plugins


Table of Contents

1. Introduction
1.1. Target Use Cases
1.2. Not Target Use Cases
2. About the Geronimo Quartz Plugins
3. Installing the Geronimo Quartz Plugins
4. Usage Examples
4.1. Embedded Scheduler Example
4.2. Deployable Jobs Example
4.3. Quartz Console Example

1. Introduction

The Geronimo Quartz plugins integrate the Quartz scheduler into the Apache Geronimo application server. This provides more advanced scheduling features than the J2EE timer service provides, supporting things like cron expressions, scheduling based on dates and holidays, etc.

There are three plugins available, which build on each other to provide different levels of integration with Geronimo:

  • Embedded Scheduler

  • Deployable Jobs

  • Quartz Console

This article describes the features provided by these plugins

1.1. Target Use Cases

These are the problems solved by the Geronimo Quartz Plugins:

Embedded Scheduler only

  • Simple access to a Quartz Scheduler from applications

  • Quartz scheduler uses Geronimo resources (threads, etc.)

Embedded Scheduler & Deployable Jobs

  • Projects including a moderate number of scheduled jobs

    • Including things like a daily import/export, weekly/monthly reports, nightly maintenance, etc.

  • Scheduled jobs are closely tied to a project

    • Jobs use same database, session beans, etc. as the application

  • Jobs developed during the course of the project

    • Jobs are deployed or redeploy during development, as implementation classes are revised

Embedded Scheduler & Deployable Jobs & Quartz Console

  • Job management via Geronimo console

    • Edit schedule and resources, start/stop, run immediately, etc.

1.2. Not Target Use Cases

This integration package is not intended to support large-scale scheduling systems including hundreds or thousands of jobs across many projects or applications. It does not replace a dedicated scheduling tool with extensive management features (such as AutoSys, or a standalone Quartz scheduler with a dedicated Quartz management tool).

Instead, it is primarily intended to support a smaller number of jobs more closely associated with individual Geronimo applications.