Assembling applications that use a CommonJ WorkManager
Before you begin
Your administrator needs to configure at least one work manager using the administrative console.
Overview
If your application references one or more logical work managers, the logical work managers must be bound to one or more physical work managers using an assembly tool, such as the Application Server Toolkit (AST) or Rational Web Developer.
Procedure
- Declare a resource reference for each work manager (required action by the application developer). This forms an EAR file. (For more information on resource references, see the topic References.)
- Bind each resource reference to a physical work manager, using an assembly tool, such as the Application Server Toolkit (AST) or Rational Web Developer.
- Add a resource reference with the type commonj.work.WorkManager to the application deployment descriptor. The application can look up this work manager using its resource reference name in java:comp. Now, use an assembly tool or Rational Application Developer to specify which resource references are bound to the physical commonj.work.WorkManager.
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 timer managers
Rational is a trademark of the IBM Corporation in the United States, other countries, or both.