Creating a scheduler resource reference

Why and when to perform this task

When a scheduler has been defined in the server configuration, the object instance is bound into the global name space under the configured JNDI name. A resource reference can be used to avoid hardcoding this JNDI name into your application.

You can alternatively create a scheduler resource reference by editing the XML directly. A scheduler resource reference is a (Java 2 Platform Enterprise Edition (J2EE) compliant resource that uses the class com.ibm.websphere.scheduler.Scheduler as the object type. For information regarding the XML file format, see the J2EE Specification.

Steps for this task

  1. Start the .
  2. Select your application.
  3. In the left-hand panel, right-click on Resource References and select New.
  4. On the General tab, complete the following fields:
    Name
    Specify the name suffix. For example, if the scheduler name is MyScheduler, the reference JNDI name is java:comp/env/MyScheduler
    Type
    From the drop-down list select com.ibm.websphere.scheduler.Scheduler
  5. (Optional) You can also specify the global JNDI name to which this resource reference is bound by entering the JNDI name on the Bindings tab.

Related tasks
Configuring a scheduler
Related reference
Scheduler configuration collection



Searchable topic ID:   tsch_resourceref
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/scheduler/tasks/tsch_resourceref.html

Library | Support | Terms of Use | Feedback