RE: Struts 2 scheduler
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-Colu mn4 http://www.javabeat.net/javabeat/ejb3/articles/timer_services_api_in_ejb _3_0_2.php Quartz isn't really worth the effort for small mundane tasks. -Original Message- From: alex xander [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 10:45 PM To: Struts Users Mailing List Subject: Struts 2 scheduler i used struts 2.0.6 i need to schedule a task i've read the documentation, and it use quartz to schedule but it don't tell how to implement quartz in struts 2. can someone help me, or there's another way to schedule a task in struts 2 thx Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping 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]
RE: Struts 2 scheduler
We've successfully used Quartz in projects that also use Struts 2. Developing a basic implementation of a scheduler using Quartz seemed to be pretty straightforward ... Chamara -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-Colu > mn4 > > http://www.javabeat.net/javabeat/ejb3/articles/timer_services_api_in_ejb > _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] __ NOD32 2940 (20080312) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2 scheduler
> But EJB is?! > I had the same reaction :). Go Quartz and don't look back. musachy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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-Colu > mn4 > > http://www.javabeat.net/javabeat/ejb3/articles/timer_services_api_in_ejb > _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]
RE: Struts 2 scheduler
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]
Re: Struts 2 scheduler
thx all, i solve my problem with quartz, i used it with spring thx so much - Original Message From: "Peters, John" <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, March 12, 2008 10:14:18 PM Subject: RE: Struts 2 scheduler 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] Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: Struts 2 scheduler
Yes, I usually use Quartz inside Spring. If I remember correctly there is a chapter about Scheduling in the big Spring manual On Fri, Mar 14, 2008 at 3:47 AM, alex xander <[EMAIL PROTECTED]> wrote: > thx all, > i solve my problem with quartz, i used it with spring > thx so much >