aspose file tools*
The moose likes Other JSRs and the fly likes JSR 352 - Batch JSR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java JSRs » Other JSRs
Bookmark "JSR 352 - Batch JSR" Watch "JSR 352 - Batch JSR" New topic
Author

JSR 352 - Batch JSR

Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1085
    
  10

Some information about JSR 352 - Batch Applications for the Java Platform:
Batch processing is a very common need in programming. In Java, for simple processing, usually a standalone program is developed. For more complex needs, custom solutions are developed. A typical solution is to have an application submit jobs/tasks and then a separate process called JobHandler/JobManager (which would keep waiting for jobs to be submitted) would execute these jobs via separate threads for each of the jobs. The JobManager also has to monitor the job execution process and report the status of the job. There are much more complex scenarios in the real-world where a chained notion of jobs is needed i.e one Job dependant on the other job to run and so on.

Everytime, a custom solution is developed to address the needs. There is no standardization of such solutions in the Java world even though this is a very common need.

JSR 352 has been created to precisely address this problem. This JSR is also known by the name of Batch JSR. One of the important goals of this JSR is to target this JSR for both Standard and Enterprise platforms.

The concepts involved are Job Manager, Job, Steps, Chunks along with transaction support and exception handling. A Job can have many Steps. We can chain the Steps - either as one after other or as decision steps. These are defined in a xml file known as the Job XML. Annotations are used throughout to mark and write code.

This JSR passed the Review Ballot in Nov 2011. The package name to be used is "javax.batch".

Home page of the JSR: http://www.jcp.org/en/jsr/detail?id=352
Project page of the JSR: http://java.net/projects/jbatch/

Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSR 352 - Batch JSR