Chapter 10. EJB Timer Service

Table of Contents

10.1. Configuring the Timer Service
10.1.1. Configuring the Persistent Timer Service (EJB Engine)
10.1.2. Processing the Persistent Timer (jeus-ejb-dd.xml)
10.1.3. Configuring the Cluster-Wide Timer Service
10.2. Configuring Timer Monitoring
10.3. Warnings for Timer Service
10.3.1. Persistent Timer and JDBC Connection

EJB timer service is the service which enables you to receive timer callbacks periodically or at a specified time. Refer to EJB specification for basic usage of the timer service.

This chapter describes explanation and setting of the timer service in JEUS EJB.

In general, the JEUS EJB timer service follows the specification, but the function to manage the timer persistently can be used according to the desired performance and user's need.

The following settings can be configured for the timer service.

  • EJB Engine's Timer Service

    Enables the shared properties and persistent timer service that are applied to all the beans using EJB timer service.

  • jeus-ejb-dd.xml

    Configures how to manage Persistent Timers when deploying and updeploying each bean.

To set the persistent timer service of an EJB engine using the WebAdmin,

EJB timers can be monitored or cancelled using the WebAdmin or console tool.

Using WebAdmin

To monitor or cancel an EJB timer using the WebAdmin,

Using Console Tool

An EJB timer that runs on the server can be monitored or cancelled using the console tool.