mminella / jsr352-springbatch-and-you

Repository for JSR-352, Spring Batch, and You talk
11 stars 8 forks source link

Build Status

JSR-352, Spring Batch and You

This repository is the home of the code and presentation from the talk JSR-352, Spring Batch, and You by Michael Minella.

The source of the data for this example must be downloaded via BitTorent. You can find more information about the input file here: Star Wars Kid: The Data Dump

To run the samples, you'll need to install the GeoLite2 database for the geolocation to work. You can download the database here: GeoLite2 Country Database. The paths for the database are currently hardcoded in the GeocodingItemProcessor to /usr/local/share/GeoIP/GeoLite2-Country.mdb. You can either drop the database there or change the path to meet your needs.

The other place paths are currently hard coded is in the ReportBatchlet. The output of the job will be written to /tmp/jsr_temp/output/index.html. If this doesn't work for you, feel free to change the paths as you need. Wherever you generate the output file at, you'll need to copy the javascript libraries over before invoking the python command to serve the site.

To run the examples

By Default this will run using HSQLDB. The configuration provided also offers MySql as well.

The Raw JSR version

Spring Version

Both versions