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 Rational Web 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, refer to the References. topic)
  2. Bind each resource reference to a physical work manager, using an assembly tool, such as Rational Web 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.
    Attention: The previous steps outline the same process used for data sources.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 5:16:49 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-iseries&topic=tasb_assemblework
File name: tasb_assemblework.html