Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop Asynchronous beans > Assembling timer and work managers > Assembling applications that use work managers and timer managers


Assembling applications that use timer managers

When a work manager has been configured, if it references a logical work manager it must be bound to a physical work manager using an assembly tool. Then resources can be created and bound to a physical timer. Your administrator needs to configure at least one timer manager using the administrative console.

If the 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 Rational Application 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, refer to the References topic.)
  2. Bind each resource reference to a physical timer manager, using an assembly tool.

  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 can specify which resource references are bound to a physical timer manager.

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


References in application deployment descriptor files
Assembly tools
Assembling applications that use asynchronous beans work managers
Assembling applications that use a CommonJ WorkManager
Use asynchronous beans

+

Search Tips   |   Advanced Search