|New Builder for
scheduled actions |
Let's say we want to execute a particular action (DataService,method call
from LJO or whatever) on regular basis.
What's the best way to do so ?
Because we have not any builder for this purpose, at this time we can think
to write a java class (LJO) that publish a method where we can write some
Java code to schedule a task to be executed on regular basis (e.g. using
java standard classes Timer/TimerTask).
Does it make sense to develop a builder for the next Websphere Portlet
Factory release that allows the user to select an action to be executed
on regular basis ? Any side back effect ?
I am just thinking about a new builder (let's say Timer Task) with the
following inputs :
||this is the action
to be called on regular basis. It would be everything that can be called
from WebApp tree
||specify an optional
delay time since the builder "Start" method is invoked
||this input specify
how often the action must be called
||It maybe one of the
advanced parameter. the idea is to specify in some way how and when the
scheduled action should be removed |