{"id":18558193,"url":"https://github.com/ghillert/spring-batch-sample-hello","last_synced_at":"2025-07-01T13:07:12.626Z","repository":{"id":10133332,"uuid":"12205987","full_name":"ghillert/spring-batch-sample-hello","owner":"ghillert","description":"Maybe the most basic Spring Batch sample. A great place to start experimenting.","archived":false,"fork":false,"pushed_at":"2013-08-19T14:26:46.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-29T04:07:44.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghillert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-19T02:57:05.000Z","updated_at":"2016-11-03T16:39:05.000Z","dependencies_parsed_at":"2022-09-06T10:50:07.672Z","dependency_job_id":null,"html_url":"https://github.com/ghillert/spring-batch-sample-hello","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ghillert/spring-batch-sample-hello","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghillert%2Fspring-batch-sample-hello","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghillert%2Fspring-batch-sample-hello/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghillert%2Fspring-batch-sample-hello/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghillert%2Fspring-batch-sample-hello/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghillert","download_url":"https://codeload.github.com/ghillert/spring-batch-sample-hello/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghillert%2Fspring-batch-sample-hello/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262969885,"owners_count":23392529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T21:39:08.908Z","updated_at":"2025-07-01T13:07:12.587Z","avatar_url":"https://github.com/ghillert.png","language":"Java","readme":"Hello Spring Batch Sample\n=========================\n\n## Running the Sample\n\n    $ mvn clean install\n\nRun the application using the Maven Exec Plugin:\n\n    $ mvn exec:java\n\nRun the executable Jar File\n\n    $ java -jar target/hello-1.0.0.BUILD-SNAPSHOT-shaded.jar META-INF/spring/batch-context.xml helloSpringBatchJob\n\nYou should see the following output:\n\n\tAug 18, 2013 11:29:15 PM org.springframework.batch.core.launch.support.SimpleJobLauncher$1 run\n\tINFO: Job: [FlowJob: [name=helloSpringBatchJob]] launched with the following parameters: [{}]\n\tAug 18, 2013 11:29:15 PM org.springframework.batch.core.job.SimpleStepHandler handleStep\n\tINFO: Executing step: [helloSpringBatchStep]\n\tHello Spring Batch!\n\tAug 18, 2013 11:29:15 PM org.springframework.batch.core.launch.support.SimpleJobLauncher$1 run\n\tINFO: Job: [FlowJob: [name=helloSpringBatchJob]] completed with the following parameters: [{}] and the following status: [COMPLETED]\n\n## Providing Job Parameters\n\n    $ java -jar target/hello-1.0.0.BUILD-SNAPSHOT-shaded.jar META-INF/spring/batch-context.xml helloSpringBatchJob \"param1=Atlanta Jug\" \"schedule.date(date)=2013/08/20\"\n\nYou should see the following output:\n\n\tAug 18, 2013 11:31:14 PM org.springframework.batch.core.launch.support.SimpleJobLauncher$1 run\n\tINFO: Job: [FlowJob: [name=helloSpringBatchJob]] launched with the following parameters: [{schedule.date=1376971200000, param1=Atlanta Jug}]\n\tAug 18, 2013 11:31:14 PM org.springframework.batch.core.job.SimpleStepHandler handleStep\n\tINFO: Executing step: [helloSpringBatchStep]\n\tHello Spring Batch!\n\t------------------------------------------------\n\tThe following 2 Job Parameter(s) is/are present:\n\t------------------------------------------------\n\tParameter name: schedule.date; isIdentifying: true; type: DATE; value: Tue Aug 20 00:00:00 EDT 2013\n\tParameter name: param1; isIdentifying: true; type: STRING; value: Atlanta Jug\n\t------------------------------------------------\n\tAug 18, 2013 11:31:14 PM org.springframework.batch.core.launch.support.SimpleJobLauncher$1 run\n\tINFO: Job: [FlowJob: [name=helloSpringBatchJob]] completed with the following parameters: [{schedule.date=1376971200000, param1=Atlanta Jug}] and the following status: [COMPLETED]\n\n## Credits\n\nThis sample was heavily inspired by *Michael R. Lange's* sample at:\n\n* https://github.com/langmi/spring-batch-tutorials/tree/master/hello-world-java\n\nOriginally, I started out doing a fork but moved code around quite a bit, simplified (removed) things, updated dependencies etc. Ultimately, only the Junit Test is close to the original. Also, I adopted the Maven-Shade plugin usage, which is awesome. Anyway, please check out his project as it also provides a wonderful tutorial.\n\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghillert%2Fspring-batch-sample-hello","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghillert%2Fspring-batch-sample-hello","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghillert%2Fspring-batch-sample-hello/lists"}