Skip to main content
This revision made December 06, 2011 18:09, by Prabir

Batch process framework for java Wiki

This is a simple Java Batch Process framework. This is a generic batch process manager that will execute any java file periodically/one time. This is generic but you have some constraints on this. To make a java file run as a Batch Job, you have to implement that java file with a JobTask abstract class. One good thing with this framework is each and every configuration of user defined batch process would be stored in an XML file. This XML file have some pre-defined xml tags. At run time that XML file would be strictly validated by a schema validations using JAXB framework.

Difference compared to previous revision
<span>= Batch process framework for java Wiki = This is <span style="text-decoration:underline;color:green">a simple Java Ba</span>t<span style="text-decoration:underline;color:green">c</span>= Batch process framework for java Wiki = This is th<span style="text-decoration:line-through;color:red">e</span> <span style="text-decoration:line-through;color:red">d</span>h <span style="text-decoration:underline;color:green">Proc</span>e<span style="text-decoration:underline;color:green">ss </span>f<span style="text-decoration:underline;color:green">r</span>efa<span style="text-decoration:line-through;color:red">ult</span>a<span style="text-decoration:underline;color:green">mework.</span> <span style="text-decoration:underline;color:green">T</span> h<span style="text-decoration:line-through;color:red">om</span>h<span style="text-decoration:underline;color:green">is is a g</span>e<span style="text-decoration:underline;color:green">neric</span> <span style="text-decoration:underline;color:green">batch </span>p<span style="text-decoration:underline;color:green">rocess m</span>a<span style="text-decoration:underline;color:green">na</span>ge<span style="text-decoration:underline;color:green">r</span> <span style="text-decoration:underline;color:green">that will execute any java </span>f<span style="text-decoration:underline;color:green">ile peri</span>o<span style="text-decoration:underline;color:green">dically/one time. This is gene</span>r<span style="text-decoration:underline;color:green">ic</span> <span style="text-decoration:underline;color:green">but </span>e page for you<span style="text-decoration:line-through;color:red">r</span> <span style="text-decoration:line-through;color:red">p</span>you <span style="text-decoration:underline;color:green">have some const</span>r<span style="text-decoration:underline;color:green">aints </span>o<span style="text-decoration:underline;color:green">n this. To make a </span>j<span style="text-decoration:underline;color:green">ava fil</span>e<span style="text-decoration:underline;color:green"> run as a Bat</span>c<span style="text-decoration:underline;color:green">h Job, you have </span>roject<span style="text-decoration:line-through;color:red">'s</span>t<span style="text-decoration:underline;color:green">o</span> <span style="text-decoration:underline;color:green">implement that java file </span>wi<span style="text-decoration:underline;color:green">th a '''JobTas</span> wik<span style="text-decoration:line-through;color:red">i</span>k<span style="text-decoration:underline;color:green">''' abstract class</span>.<span style="text-decoration:line-through;color:red"> T</span><span style="text-decoration:underline;color:green"> One good t</span>hi<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ng</span> wi<span style="text-decoration:underline;color:green">th this framewor</span>k<span style="text-decoration:underline;color:green"> </span>i<span style="text-decoration:underline;color:green">s</span> <span style="text-decoration:underline;color:green">each and every config</span>u<span style="text-decoration:underline;color:green">ration of u</span>se<span style="text-decoration:underline;color:green">r defined batch proce</span>s<span style="text-decoration:underline;color:green">s</span> wiki uses <span style="text-decoration:line-through;color:red">M</span> <span style="text-decoration:underline;color:green">would b</span>e<span style="text-decoration:underline;color:green"> store</span>d<span style="text-decoration:underline;color:green"> </span>i<span style="text-decoration:underline;color:green">n </span>edia<span style="text-decoration:line-through;color:red">w</span>a<span style="text-decoration:underline;color:green">n XML f</span>i<span style="text-decoration:line-through;color:red">k</span><span style="text-decoration:underline;color:green">le. Th</span><span style="text-decoration:underline;color:green">s</span> <span style="text-decoration:underline;color:green">XML </span>f<span style="text-decoration:underline;color:green">ile have s</span>o<span style="text-decoration:underline;color:green">me p</span>r<span style="text-decoration:underline;color:green">e-defined x</span>m<span style="text-decoration:underline;color:green">l t</span>a<span style="text-decoration:underline;color:green">gs. A</span>t<span style="text-decoration:underline;color:green"> run </span>ti<span style="text-decoration:underline;color:green">me that XML file would be strictly validated by a schema validatio</span>n<span style="text-decoration:underline;color:green">s usin</span>g<span style="text-decoration:underline;color:green"> '''JAXB''' framework</span>.<span style="text-decoration:underline;color:green"> </span> <span>
 
 
Close
loading
Please Confirm
Close