Code Monkey home page Code Monkey logo

spring-batch-in-action's Introduction

#spring-batch-in-action

Spring Batch In Action has not been revised since 2011, and there is no Korean translation, and most Spring Batch articles in Korea are tutorials or official document translations, so I started it because I was frustrated. As commerce or other service systems grow, batch work increases, and Spring Batch is often used in a rule-of-thumb way. Spring MVC has a lot of data, but there are too many batches, so I started to organize it.

index

Expected

  • Simple Batch Job
    • Review of job execution results
    • Job, JobInstance, JobExecution, etc. BATCH_JOB schema
      • Review the contents of the BatchExecution table
    • Introduction to BatchStatus
  • Batch job flow *Step
    • Flow
    • split & mutli threads
    • decide
      • Step branch processing through JobExecutionDecider
  • Introduction to batch steps
    • chunk oriented
    • chunk-oriented as code
    • Brief introduction of reader processor writer
  • JobParameter
    • @JobScope, @StepScope, @Value
    • Build => Execute batch.jar => Check the parameters displayed on the console
    • Check for errors due to duplication of Job Parameters
    • Confirm that it is performed without build with test code
    • StepScope
    • JobScope
  • Reader
    • Notes on overriding the read() method when creating a custom reader
      • If this.data.hasNext() is false, always return null.
      • If null is not returned, infinite reading begins
    • DB & JPA *JpaItemReader
      • JpaPagingItemReader
      • IbatisReader was removed with Spring Batch 4.0
      • What if you need to query & modify the same table? (Note)
    • File
      • FlatFileItemReader
    • Never use custom repository with JpaRepository
    • Read Multiple DataSources
    • Item Stream Interface *ItemStream?
      • Differences with paging
      • JpaCursorItemReader
    • QuerydslPagingItemReader & QuerydslCursorItemReader
  • Writer
    • Introduction to Simple Writer
      • chunk difference
      • Introduction of precautions when chunk and page size are different
    • DB & JPA
      • JDBC writers
      • JPA Writer
    • Write Multiple DataSources
  • Processor _ Simple processor _ Filter processing in Processor _ Validate in Processor _ Validator
  • test code
  • Multi DataSource
    • Multi Datasource
    • Multi-EntityManager
    • Multi TxManager
  • How about batch scheduling? (Jenkins)

spring-batch-in-action's People

Contributors

jojoldu avatar trkhanh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.