Re: How to handle scheduled tasks?
Jason von Nieda wrote: > I am trying to decide how I should handle scheduled tasks in my > applications under Orion. I have to do things like send out montly > e-mails to registered users, expire old content every 90 days and such. > I originally did this as a servlet that created a Thread but I was > uncomfortable with it. I am currently doing it completely seperate > from my application as a stand alone application but this is not > ideal as it makes portability of applications difficult. I am currently > looking into using EJBs for the task, but they don't quite fit > either. Any ideas or experience on this one? Thanks. I like your idea of keeping the functionality within your application. This way if you switch servers, it's one less headache to contend with. I suppose you could start up a couple of entity beans on deployment and let them sleep until they run their maintenance routines. -Vince
Re: How to handle scheduled tasks?
why not look into java.util.Timer and java.util.TimerTask in JDK 1.3? Look quite handy to me.. -Original Message- From: Patrick Lacson <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Date: Samstag, 26. August 2000 02:10 Subject: RE: How to handle scheduled tasks? >I would suggest doing the scheduling outside of the Orion App server.. Less >code and more reliability. Try cron in Unix or at in NT. > >-P > >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]]On Behalf Of Jason von >Nieda >Sent: Friday, August 25, 2000 8:08 AM >To: Orion-Interest >Subject: How to handle scheduled tasks? > > >I am trying to decide how I should handle scheduled tasks in my >applications under Orion. I have to do things like send out montly >e-mails to registered users, expire old content every 90 days and such. >I originally did this as a servlet that created a Thread but I was >uncomfortable with it. I am currently doing it completely seperate >from my application as a stand alone application but this is not >ideal as it makes portability of applications difficult. I am currently >looking into using EJBs for the task, but they don't quite fit >either. Any ideas or experience on this one? Thanks. > > > >
RE: How to handle scheduled tasks?
I would suggest doing the scheduling outside of the Orion App server.. Less code and more reliability. Try cron in Unix or at in NT. -P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason von Nieda Sent: Friday, August 25, 2000 8:08 AM To: Orion-Interest Subject: How to handle scheduled tasks? I am trying to decide how I should handle scheduled tasks in my applications under Orion. I have to do things like send out montly e-mails to registered users, expire old content every 90 days and such. I originally did this as a servlet that created a Thread but I was uncomfortable with it. I am currently doing it completely seperate from my application as a stand alone application but this is not ideal as it makes portability of applications difficult. I am currently looking into using EJBs for the task, but they don't quite fit either. Any ideas or experience on this one? Thanks.
Re: How to handle scheduled tasks?
see flux http://www.javalobby.org/servlet/News?action=displayStories&xsl=comment.xsl&; format=full&id=51010001010 - Original Message - From: "Jason von Nieda" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Friday, August 25, 2000 11:08 AM Subject: How to handle scheduled tasks? > I am trying to decide how I should handle scheduled tasks in my > applications under Orion. I have to do things like send out montly > e-mails to registered users, expire old content every 90 days and such. > I originally did this as a servlet that created a Thread but I was > uncomfortable with it. I am currently doing it completely seperate > from my application as a stand alone application but this is not > ideal as it makes portability of applications difficult. I am currently > looking into using EJBs for the task, but they don't quite fit > either. Any ideas or experience on this one? Thanks. > > >
RE: How to handle scheduled tasks?
Take a look at Flux. http://www.simscomputing.com/ -Original Message- From: Jason von Nieda [mailto:[EMAIL PROTECTED]] Sent: Friday, August 25, 2000 10:08 AM To: Orion-Interest Subject: How to handle scheduled tasks? I am trying to decide how I should handle scheduled tasks in my applications under Orion. I have to do things like send out montly e-mails to registered users, expire old content every 90 days and such. I originally did this as a servlet that created a Thread but I was uncomfortable with it. I am currently doing it completely seperate from my application as a stand alone application but this is not ideal as it makes portability of applications difficult. I am currently looking into using EJBs for the task, but they don't quite fit either. Any ideas or experience on this one? Thanks.