Hi,

I don't think there are any options. When I last looked (a while back),
the J2EE1.4 spec didn't provide any means to set up timers through
configuration files, deployment descriptors, etc. Specifically, the
only way you could start a timer was through the API, which meant that
you needed some kind of event to fire first in order to make your code
run to set the timer, etc. A bit catch 22. The only solution as I see
it is to use a startup servlet, or else use some kind of external
scheduling approach (using Unix cron or Windows at) as detailed by other
over the last couple of days.

Rgds,

Dan.

-- 
Danny Yates
 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 02 September 2003 06:42
To: [EMAIL PROTECTED]
Subject: [OT] Invoking a Task.


Hi All,
I have defined a task using Timer and TimerTask. I am running a Web
Application in Weblogic domain.
I want to invoke this Task program fom somewhere.
I don't want to use WL start up class and cannot put it in a load on
startup.
Please let me know what other options i have ?

thanks
-raj





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_____________________________________________________________________ 
Notice to recipient: 
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. 

When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity. 

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.
_____________________________________________________________________ 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to