batch-spring.zip

上传者: zhangcongyi420 | 上传时间: 2021-03-31 09:37:22 | 文件大小: 70KB | 文件类型: ZIP
Springbatch开启任务通常有如下两种方式,通过定时任务或者通过接口调用,定时任务使用简单,适用于数据来源稳定不需要过多外部参数干扰的情形,而接口的方式更加灵活,可以通过外部进行参数配置满足复杂的数据批处理场景,下面通过一个简单的例子来作说明......

文件下载

资源详情

[{"title":"( 58 个子文件 70KB ) batch-spring.zip","children":[{"title":"batch-spring","children":[{"title":"src","children":[{"title":"test","children":[{"title":"java","children":null,"spread":false}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"mapper","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"congge","children":[{"title":"processor","children":[{"title":"BatchItemProcessor.java <span style='color:#111;'> 375B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"TUserService.java <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"TUserServiceImpl.java <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"utils","children":[{"title":"ExcelUtils.java <span style='color:#111;'> 9.19KB </span>","children":null,"spread":false},{"title":"StringUtil.java <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"FileUtil.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"DateUtil.java <span style='color:#111;'> 422B </span>","children":null,"spread":false}],"spread":true},{"title":"App.java <span style='color:#111;'> 488B </span>","children":null,"spread":false},{"title":"model","children":[{"title":"UserEntity.java <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"StudentExcelProperty.java <span style='color:#111;'> 616B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"ExportController.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"JobController.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"TUserMapper.java <span style='color:#111;'> 194B </span>","children":null,"spread":false}],"spread":false},{"title":"exception","children":[{"title":"BatchStepExceptionHandler.java <span style='color:#111;'> 800B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"MybatisPlusConfig.java <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"BatchItemWriter.java <span style='color:#111;'> 823B </span>","children":null,"spread":false},{"title":"BatchJob.java <span style='color:#111;'> 5.77KB </span>","children":null,"spread":false}],"spread":false},{"title":"listener","children":[{"title":"ExcelModelListener.java <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"BatchJobListener.java <span style='color:#111;'> 611B </span>","children":null,"spread":false}],"spread":false},{"title":"data","children":[{"title":"ReadService.java <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"ExportService.java <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false}],"spread":false},{"title":"job","children":[{"title":"BatchTaskJob.java <span style='color:#111;'> 998B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"application.properties <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"congge","children":[{"title":"processor","children":[{"title":"BatchItemProcessor.class <span style='color:#111;'> 992B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"impl","children":[{"title":"TUserServiceImpl.class <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"TUserService.class <span style='color:#111;'> 418B </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"StringUtil.class <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"ExcelUtils$MultipleSheelPropety.class <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"FileUtil.class <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"DateUtil.class <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"ExcelUtils$ExcelListener.class <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"ExcelUtils.class <span style='color:#111;'> 9.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"StudentExcelProperty.class <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"UserEntity.class <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"JobController.class <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"ExportController.class <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"TUserMapper.class <span style='color:#111;'> 297B </span>","children":null,"spread":false}],"spread":true},{"title":"exception","children":[{"title":"BatchStepExceptionHandler.class <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"App.class <span style='color:#111;'> 833B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"MybatisPlusConfig.class <span style='color:#111;'> 795B </span>","children":null,"spread":false},{"title":"BatchItemWriter.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"BatchJob$1.class <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"BatchJob.class <span style='color:#111;'> 7.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"listener","children":[{"title":"BatchJobListener.class <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"ExcelModelListener.class <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false}],"spread":false},{"title":"data","children":[{"title":"ReadService.class <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"ExportService.class <span style='color:#111;'> 5.28KB </span>","children":null,"spread":false}],"spread":false},{"title":"job","children":[{"title":"BatchTaskJob.class <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"uiDesigner.xml <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 51.65KB </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"smartfox_info.xml <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 8.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"batch-spring.iml <span style='color:#111;'> 80B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明