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

Saved in:
Bibliographic Details
Author / Creator:Rao, P. Raja Malleswara, author.
Imprint:Birmingham, England : Packt Publishing, 2015.
©2015
Description:1 online resource (148 pages)
Language:English
Series:Community Experience Distilled
Community experience distilled.
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/11305795
Hidden Bibliographic Details
ISBN:9781783553389
1783553383
1322831785
9781322831787
9781783553372
1783553375
Digital file characteristics:text file
Notes:Includes index.
Online resource; title from PDF title page (ebrary, viewed February 5, 2015).
Summary: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. After exploring the architecture and key components, you will learn how to develop and execute a batch application. While gaining insights on the essential configurations and execution techniques for batch jobs, you will learn about the key technical implementations of the read, write, and processing features for different forms of data. Next, you will move on to the key features such as transaction management, job flows, job monitoring, and data sharing across the steps of the executing jobs. Finally, you will learn how Spring Batch can integrate with diverse enterprise technologies and facilitate optimization and performance improvement with scaling and partitioning techniques.
Other form:Print version: Rao, P. Raja Malleswara. Spring Batch essentials : design, develop, and deliver robust batch applications with the power of the Spring Batch framework. Birmingham, England : Packt Publishing, ©2015 iv, 130 pages Community experience distilled. 9781783553372
Table of Contents:
  • 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