Depends on the implementation.
If you only need to run one job every hour, then using an EJB will make
life easier than quartz.
Now if you need to run multiple jobs on varying days and times,
obviously you would use quartz.


-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2008 9:42 AM
To: Struts Users Mailing List
Subject: RE: Struts 2 scheduler

--- "Peters, John" <[EMAIL PROTECTED]> wrote:
> What kind of task, database cleanup?
> Does it occur every minute, hour, day? 
> You might want to consider a stateless session EJB that implements a 
> TimerService.
> Here are some examples
>       
> http://www.theserverside.com/tt/articles/article.tss?l=MonsonHaefel-Co
> lu
> mn4
>       
> http://www.javabeat.net/javabeat/ejb3/articles/timer_services_api_in_e
> jb
> _3_0_2.php
> 
> Quartz isn't really worth the effort for small mundane tasks.

But EJB is?!

Dave



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





Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate 
companies are not responsible for errors or omissions in this e-mail message. 
Any personal comments made in this e-mail do not reflect the views of Blue 
Cross Blue Shield of Florida, Inc.  The information contained in this document 
may be confidential and intended solely for the use of the individual or entity 
to whom it is addressed.  This document may contain material that is privileged 
or protected from disclosure under applicable law.  If you are not the intended 
recipient or the individual responsible for delivering to the intended 
recipient, please (1) be advised that any use, dissemination, forwarding, or 
copying of this document IS STRICTLY PROHIBITED; and (2) notify sender 
immediately by telephone and destroy the document. THANK YOU.


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

Reply via email to