aspose file tools*
The moose likes Java in General and the fly likes Scheduling from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Scheduling from database" Watch "Scheduling from database" New topic
Author

Scheduling from database

surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

Hello Partners!
I'm building an app that runs some task periodically and this schedule is defined in database. I'm looking to Spring/Hibernate/Quartz technology stack to save data about quartz jobs in database.
But I heard that Quartz it pretty old, and I don't know if this combination is good for this task. Could you please suggest how to build the app, to make it possible to change schedule by direct editing of database?
Jelle Klap
Bartender

Joined: Mar 10, 2008
Posts: 1761
    
    7

Yep, Quartz is pretty old, but that's a good thing. It's proven technology that has a lot of history behind it and is still actively maintained. Although it's possible to change scheduling behavior by directly "hacking" the records in Quartz' database tables, I wouldn't do that. If you look at the cookbook there are plenty of examples of listing and updating jobs and triggers through the Java API, which you could expose as a webpage or -service.


Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scheduling from database