Archive for September, 2007

  • Job Scheduler using commonj Timer in weblogic

    A Job Scheduler using commonj api on weblogic server. The commonj is supported by websphere also.
    Refer Anthony Jen’s Blog for detailed tutorial including configuring the scheduler using JMX & Spring annotations.
    The following entry should be in web.xml. This will create a Timer called BatchTimer.

    <resource-ref>
    <res-ref-name>timer/BatchTimer</res-ref-name>
    <res-type>commonj.timers.TimerManager</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    The batch timer with JNDI name is injected into the Spring bean, [...]