Cargando…

Spring Batch essentials : design, develop, and deliver robust batch applications with the power of the Spring Batch framework /

Spring Batch is an open source, lightweight, and comprehensive solution designed to enable the development of robust batch applications that are vital for enterprise operations. Packed with real-world examples, this book starts with an insight into the batch applications and Spring Batch offerings....

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Rao, P. Raja Malleswara (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, England : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Spring Batch Fundamentals; Introduction to batch applications; Spring Batch and its offerings; Spring Batch infrastructure; Spring Batch components; Job design and executions; Summary; Chapter 2: Getting Started with Spring Batch Jobs; Spring Batch XML features; Spring Batch XML namespace; Spring Batch XML tags; Configuring jobs, transactions, and repositories; Job configuration; Step configuration; Tasklet configuration; Chunk configuration; Transaction configuration
  • Job repository configurationEL and listeners; Listeners; Job listeners; Step listeners; Item listeners; Executing jobs from the command line and web applications; JobLauncher; Launching a job from a command line; Launching a job from within a web application; Stopping batch jobs gracefully; Schedulers; Summary; Chapter 3: Working with Data; Data reading; ItemReader; Reading data from flat files; Fixed width file; FlatFileItemReader; LineMapper; Delimited file; Exceptions from flat file reading; Reading data from XML; Reading data from a database; JdbcCursorItemReader; JdbcPagingItemReader
  • Data processingItemProcessor; Chaining the process; Data writing; ItemWriter; Flat file item writers; FieldExtractor; Writing delimited files; Writing a fixed width file; XML item writers; Database item writers; JDBC-based database writing; ORM-based database writing; Custom item readers and writers; Summary; Chapter 4: Handling Job Transactions; Transactions; Spring Batch transaction management; Tasklet steps; Chunk-oriented steps; Listeners; Customizing the transaction; Transaction patterns; Simple transaction; Global transaction; Summary; Chapter 5: Step Execution; Controlling the job flow
  • Using an exit codeUsing a decision logic; Data sharing; Using execution context; Using Spring holder beans; Externalization and termination; Externalization; External flow definition and including it in desired jobs; Inherited jobs mechanism; Termination; Terminating in the COMPLETED state; Terminating in the FAILED state; Terminating in the STOPPED state; Summary; Chapter 6: Integrating Spring Batch; Enterprise Integration; Spring Integration; Triggering a batch job to execute; RESTful job processing; Summary; Chapter 7: Inspecting Spring Batch Jobs; Batch job monitoring
  • Accessing execution dataDatabase; JobRepository; JobLauncher; JobOperator; JobExplorer; Listeners; Web monitoring; Summary; Chapter 8: Scaling with Spring Batch; The batch scaling model; The thread model; Parallel processing; Remote chunking; Partitioning; Summary; Chapter 9: Testing the Spring Batch; Types of testing for Spring Batch; Unit testing; JUnit; Mockito; Integration testing; Listener-based approach; The StepScopeTestUtils approach; Functional testing; Summary; Appendix; Setting up Java; Setting up Eclipse IDE; Setting up the project and its dependencies; Spring Batch Administration