Java Reference
In-Depth Information
public class InscriptionCheckpoint implements
Serializable {
private int lineNumber;
public void incrementLineNumber(){
public int getLineNumber() {
return lineNumber;
A batchlet is a type of step to implement your own batch pattern. Unlike a chunk that
performs tasks in three phases (reading, processing, and writing), a batchlet step
is invoked once and returns an exit status at the end of processing. The following
code shows us what a batchlet batch artifact implementation looks like. The source
code of this section sends an information message to all students and displays some
important information about the batch. The processing is launched by the Batch- Servlet.
The following code is a skeleton of batchlet batch artifact implementation:
public class StudentInformation extends
public String process() throws Exception {
// process
return "COMPLETED";
Search WWH ::

Custom Search