What do you folks think about a scheduled event daemon?  J2EE doesn't cover
this, I don't think any other frameworks do it yet, and it is similar to
request event handling except the events are "anonymous" and don't contain a
request object.

It could be implemented around a server startup servlet which reads a config
file, much like the Action servlet, and at designated intervals invokes the
"action" class specified in the config file.  Instead of passing in the
request object it would only be able to send the servlet context.  There are
a lot of uses for something like this, for instance, downloading messages
from a pop3 server, checking load info and sending out warnings, or anything
that we might have used cron to do 'back in the day'. (Well, some of you may
not know what Cron is and it's probably better that way ).

I suppose it could be implemented entirely separate to Struts, however, it
would make a nice addition.

Taylor Cowan

Reply via email to