aspose file tools*
The moose likes Java in General and the fly likes task schedular in j2se Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "task schedular in j2se" Watch "task schedular in j2se" New topic
Author

task schedular in j2se

Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi all,

I was wondering if it is worth to put anytime for j2se scheduler. The problem I have is I want Persistent Store of schedules and then managed by the Scheduler.

Googling didn't come up with as many results for that.

Do anybody know if there are any opensource java schedulars with Persistent Store?

I guess the only issue here is Persistent Store and design in that respect otherwise scheduler can use TimerTask and all Java API so I won't have to design API for ScheduledTasks and all...

I hope I am making sense.

Regards
Maulin
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
no takers?
Eric Fletcher
Ranch Hand

Joined: Oct 26, 2000
Posts: 188
Check out this link on TimerTasks and Quartz, and open source Java scheduler. It's been a while since I read it, but I believe it may apply.

OnJava Quartz article

HTH,
E


My theory of evolution is that Darwin was adopted. - Steven Wright
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
Hi Eric,

Thats certainly helps a lot. I am looking into that API and see how far I can use it.

Thanks ton,
Maulin
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
Hi Eric,

I looked at it and couple of others (I found link in its README )

1. Flux- from http://www.simscomputing.com/
I see that as a more complex functionality than we need. So I would avoid using it. Though I liked its complex features

2. Tempo - from http://www.vergenet.com/index.php
I tried to find Tempo but surprizingly I didn't find links where I can see/download Tempo. Somehow I didn't even saw any reference to it on the site..strange..

Otherwise I didn't find many enticing links for that topic. I would just post some links I went through so far,
1. Artical - http://www-106.ibm.com/developerworks/java/library/j-schedule.html
2. Artical - http://www.onjava.com/pub/a/onjava/2004/03/10/quartz.html?page=1
3. Artical - http://www.fawcette.com/javapro/2002_02/magazine/features/eberkovich/default.aspx
4. Quartz - http://www.opensymphony.com/quartz/
5. Flux - http://www.simscomputing.com/

Regards
Maulin
Eric Fletcher
Ranch Hand

Joined: Oct 26, 2000
Posts: 188
Hi Maulin,

Glad it helped. I was doing some simple scheduling about 6 months ago, so I ended up just using TimerTasks. I looked through the links you posted, some interesting stuff. I may be doing some more job scheduling in the near future, so thanks for sharing the research!

Cheers,
E
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
Maulin,

Which have you gone for? You didn't sound too enthusiastic about Quartz which surprised me - it sounds like about what you want.

We're using it in a J2EE Web App. In our setup, multiple deployments access one job store (which is stored in a database), and then the scheduler chooses one randomly to run each task as it comes up. It seems to be quite powerful though I confess I'm not an expert.

Anyway, my $0.02.


-Tim
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
Hi Tim,

I am very enthu about using Quartz. Its just that we have to create some kind of wrapper that can wrap our API object for Task into Quartz's Job object and all...

I was in too many threads of thought the time I posted so I couldn't show much enthu

I feel so much excited when I get a chance to review external API and learn from it about how to develop such APIs ourselves. I wish I excell that dream. I guess but this is off the thread....

Regards,
Maulin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: task schedular in j2se