WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Assembling applications that use a CommonJ WorkManager

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 work manager.

Before you begin

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

About this task

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 Application Developer.

Procedure

  1. 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.)
  2. Bind each resource reference to a physical work manager, using an assembly tool, such as the Application Server Toolkit (AST) or Rational Application Developer.
  3. 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, you can 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.



Related concepts
References
Assembly tools
Related tasks
Assembling applications that use asynchronous beans work managers
Assembling applications that use timer managers
Using asynchronous beans
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/asyncbns/tasks/tasb_assemblework.html

© Copyright IBM Corporation 2002, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)