Skip to content

Latest commit

 

History

History
 
 

jbatch-schedule

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Schedule a batch job in regular intervals

Contains:

  • jbatch-schedule.xml - a definition of the batch job, defines a property and a single task that executes a batchlet.
  • SimpleBatchlet.java - the batchlet that reads a file name from the job property and writes a line with timestamp into that file.
  • SimpleSchedule.java - an EJB component with a schedule that triggers it every 30 seconds. The EJB then starts the batch job as defined by the XML definition.