spring batch

16
TRAINING SPRING BATCH Presenter Name: Nguyen Le Ngoc Ha Presentation Date: 30/10/2014

Upload: ha-nguyen

Post on 30-Sep-2015

234 views

Category:

Documents


0 download

DESCRIPTION

Spring Batch research.

TRANSCRIPT

Training Spring BatchPresenter Name: Nguyen Le Ngoc HaPresentation Date: 30/10/20141SchedulerThe Scheduler provides scheduling functionality.Schedule job execution based on time or events.Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.2

This is another option for an overview using transitions to advance through several slides. 3

4TaskletIn Spring batch, the Tasklet is an interface.Which will be called to perform a single task only, like clean or set up resources before or after any step execution.Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.5

6Inheriting from a Parent JobIf a group of Jobs share similar, then it may be helpful to define a "parent" Job from which the concrete Jobs may inherit properties. Similar to class inheritance in Java, the "child" Job will combine its elements and attributes with the parent's.Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.7

8

This is another option for an overview slide.

Batch Job Next, SkipIn order to handle more complex scenarios, the Spring Batch namespace allows transition elements to be defined within the step element. One such transition is the "next" element. Like the "next" attribute, the "next" element will tell the Job which Step to execute next.Errors encountered while processing should not result in Step failure, but should be skipped instead.Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.10

What will the audience be able to do after this training is complete? Briefly describe each objective and how the audience will benefit from this presentation.11Batch Status And Exit StatusBatch status: Enumeration representing the status of a an Execution.(http://docs.spring.io/spring-batch/apidocs/org/springframework/batch/core/BatchStatus.html)Exit Status: Value object used to carry information about the status of a job or step execution. ExitStatus is immutable and therefore thread-safe.(http://docs.spring.io/spring-batch/apidocs/org/springframework/batch/core/ExitStatus.html).

Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.12Job Parameters ValidatorValidate parameter when you start a job.

Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.13

Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.14Start-Stop Job

Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.15Thanks for watchingGive a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.16