File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes batch related question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "batch related question" Watch "batch related question" New topic

batch related question

Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
If you are using a J2EE container, what is the preferred way of invoking a batch job(that needs to run every 15-30 minutes and update some database tables)???

SCJP, blog
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'd probably look to an external scheduling package. Chron comes with unix systems, but there are many sophisticated commercial products. If you want to roll your own, could you run another JVM outside the J2EE container with something as simple as Timer?

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
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Google for quartz - scheduler - java.
An open source java scheduler.
I agree. Here's the link:
subject: batch related question
It's not a secret anymore!