It's not a secret anymore!
The moose likes Java in General and the fly likes Scheduler Task in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Scheduler Task in Java" Watch "Scheduler Task in Java" New topic

Scheduler Task in Java

Gaurav Jain
Ranch Hand

Joined: Mar 11, 2004
Posts: 108
We have currently some batch jobs running as stored procedures and are located in the database. How good is an idea to convert these stored procedures as scheduler tasks written in java and deployed on the application server? Will the app server be loaded if these scheduled java tasks run 24hrs?
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
We run our batch processes with Flux. Do you have the budget to use a job scheduler product? I don't know if there are good open-source schedulers.

You can write a simple one in Java pretty easily, but making it really robust, handling errors, restarts, etc would be a lot of work.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1082

try Quartz job schedular.

Quartz is an open source job scheduling system that can be integrated with, or used along side virtually any J2EE or J2SE application

It is a fully featured, free-for-commercial-use, enterprise-class job scheduler.


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
I agree. Here's the link:
subject: Scheduler Task in Java
jQuery in Action, 3rd edition