# Timer Control

A Timer control notifies your application when a specified period of time has elapsed or when a specified absolute time has been reached.

All Timer controls are instances of the com.bea.control.TimerControl base class. Unlike most controls, a Timer control is declared directly in a JWS file; there is no subclass created for a Timer control.

To learn about WebLogic Workshop controls, see Using WebLogic Built-In Controls.

## Topics Included in this Section

Overview: Timer Controls

Provides a brief introduction to creating and configuring Timer controls.

Creating a New Timer Control

Explains how to create a new Timer control and provides a sample of the resulting declaration.

Using a Timer Control

Explains how to configure a Timer control you've already created.

Specifying Time on a Timer Control

Explains how to specify relative and absolute time when setting the attributes of a Timer control.

## Timer Control Samples

SimpleTimer.jws Sample

AdvancedTimer.jws Sample

HelloWorldAsync.jws Sample

Related Topics

TimerControl Interface

Using WebLogic Built-In Controls