Giter Club home page Giter Club logo

spring-batch-workshop's Introduction

Spring Batch Workshop

Slides

The slides in are in the presentation directory (spring-batch-workshop.pdf).

Samples

  • hello world: writing "Hello World" on the console
  • chunk processing: simple illustration of the chunk processing
  • flat file reading: reading from a flat file (and writing to a database)
  • skip: skipping a badly formatted line in a CSV file instead of crashing
  • dynamic job parameters: passing parameters to job artefacts (e.g. input file to an item reader)
  • JDBC paging: reading large result sets from a database using paging
  • execution metadata: seeing how Spring Batch stores execution metadata to enable restart and ease monitoring
  • scheduling: using Spring scheduling support to execute a job periodically
  • item processor: embedding business logic in an ItemProcessor
  • logging skipped items: using a skip listener to log skipped items
  • file reading partitioning: multithreading reading and processing of files
  • file dropping launching: launching a job when there's a new file on a FTP server
  • database reading partitioning: reading categorized items from a database and writing them to files

TBD:

Installation instructions

To get the code, two solutions:

If you have git installed

just type the following command: $ git clone git://github.com/acogoluegnes/Spring-Batch-Workshop.git

If you don't have git installed or don't want to use it

There's a "Downloads" link on the github webpage to download an archive.

Once you downloaded the code

The projects are based on Maven, so any IDE with Maven support should be fine (import the projects as Maven projects with Eclipse and the M2Eclipse plugin for example).

To check that everything is fine, go to the root of the project and launch the tests: $ mvn test

Content

Each Spring Batch topic is covered by two projects: the -start project is the one you should start from. The -solution is the solution. You just need to follow the TODOs. The concepts are (quickly) covered in the PDF file in the presentation directory. The PDF contains additional instructions and hints to work on the projects.

spring-batch-workshop's People

Contributors

acogoluegnes avatar

Watchers

 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.