• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

batch related question

 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)???
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google for quartz - scheduler - java.
An open source java scheduler.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic