Assembling applications that use timer managers

 

Before you begin

Your administrator needs to configure at least one timer manager using the administrative console.

 

Overview

If your application references one or more logical timer managers, the logical timer managers must be bound to one or more physical timer managers using an assembly tool, such as the Application Server Toolkit (AST) or Rational Web Developer.

 

Procedure

  1. Declare a resource reference for each timer manager (required action by the application developer). This forms an EAR file. (For more information on resource references, see the topic References.)

  2. Bind each resource reference to a physical timer manager, using an assembly tool, such as the Application Server Toolkit (AST) or Rational Web Developer.

  3. Add a resource reference with the type commonj.timers.TimerManager to the application deployment descriptor. The application then can look up this timer manager using its resource reference name in java:comp. The assembly tool or Rational Application Developer then can specify which resource references are bound to a physical timer manager.

    Note: The previous steps outline the same process used for data sources.


 

See Also


References
Assembly tools

 

Related Tasks


Assembling applications that use asynchronous beans work managers
Assembling applications that use a CommonJ WorkManager

 



 

 

Rational is a trademark of the IBM Corporation in the United States, other countries, or both.