This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

task schedular in j2se

 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no takers?
 
Eric Fletcher
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic