{"id":4571,"date":"2019-11-30T15:24:54","date_gmt":"2019-11-30T07:24:54","guid":{"rendered":"https:\/\/www.xttblog.com\/?p=4571"},"modified":"2019-11-30T15:24:54","modified_gmt":"2019-11-30T07:24:54","slug":"springbatch-%e8%a7%86%e9%a2%91%e6%95%99%e7%a8%8b%e7%99%be%e5%ba%a6%e4%ba%91%e5%9c%b0%e5%9d%80%e5%85%8d%e8%b4%b9%e4%b8%8b%e8%bd%bd%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=4571","title":{"rendered":"SpringBatch \u89c6\u9891\u6559\u7a0b\u767e\u5ea6\u4e91\u5730\u5740\u514d\u8d39\u4e0b\u8f7d\uff01"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">SpringBatch \u5e76\u4e0d\u662f\u4e00\u4e2a\u65b0\u6846\u67b6\uff0c\u5b83\u6709\u597d\u51e0\u5e74\u7684\u5386\u53f2\u4e86\u3002\u4f30\u8ba1\u6211\u4e2a\u4eba\u7684\u89c2\u5bdf\uff0c\u5176\u5b9e\u6709\u4e0d\u5c11\u516c\u53f8\u90fd\u7528\u7684\u6709\u8fd9\u4e2a\u6846\u67b6\uff01\u8fd9\u4e00\u70b9\u4e5f\u53ef\u4ee5\u4ece\u6211\u5728\u963f\u91cc\u4e91\u53d1\u8868\u7684\u5bf9\u5e94\u6587\u7ae0\u7684\u9605\u8bfb\u6570\u4e0a\u53ef\u4ee5\u770b\u51fa\uff01<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/wx1.sinaimg.cn\/mw690\/8fa5dcfcly1g9g2vicb40j20vs092wfq.jpg\" alt=\"\" \/><figcaption>SpringBatch \u6559\u7a0b<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u521a\u597d\u6700\u8fd1\u4e0d\u5c11\u7f51\u53cb\u54a8\u8be2\u6211\uff0cSpringBatch \u5982\u4f55\u4e0e SpringBoot \u6574\u5408\uff1f\u6211\u60f3\u8d77\u6211\u7684\u767e\u5ea6\u7f51\u76d8\u91cc\u521a\u597d\u6709\u4e00\u5957 SpringBatch \u7684\u89c6\u9891\u6559\u7a0b\uff0c\u4eca\u5929\u5206\u4eab\u7ed9\u5927\u5bb6\uff01<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/wx2.sinaimg.cn\/mw690\/8fa5dcfcly1g9g2xupwp3j20jw0lognx.jpg\" alt=\"\" \/><figcaption>SpringBatch \u89c6\u9891\u6559\u7a0b<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u5957\u89c6\u9891\u6559\u7a0b\u4e00\u5171 30 \u4e2a\u7ae0\u8282\uff0c\u4e0b\u9762\u662f\u5177\u4f53\u7684\u7ae0\u8282\u5185\u5bb9\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.SpringBatch\u6982\u8ff0<br>2.\u642d\u5efaSpringBatch\u9879\u76ee<br>3.\u521b\u5efaSpringBatch\u5165\u95e8\u7a0b\u5e8f<br>4.\u66ff\u6362\u4e3aMysql\u6570\u636e\u5e93<br>5.\u6838\u5fc3API<br>6.Job\u7684\u521b\u5efa\u548c\u4f7f\u7528<br>7.Flow\u7684\u521b\u5efa\u548c\u4f7f\u7528<br>8.split\u5b9e\u73b0\u5e76\u53d1\u6267\u884c<br>9.\u51b3\u7b56\u5668\u7684\u4f7f\u7528<br>10.Job\u7684\u5d4c\u5957<br>11.\u76d1\u542c\u5668\u7684\u4f7f\u7528<br>12.Job\u53c2\u6570<br>13.ItemReader\u6982\u8ff0<br>14.\u4ece\u6570\u636e\u5e93\u4e2d\u8bfb\u53d6\u6570\u636e<br>15.\u4ece\u666e\u901a\u6587\u4ef6\u8bfb\u53d6\u6570\u636e<br>16.\u4ecexml\u6587\u4ef6\u4e2d\u8bfb\u53d6\u6570\u636e<br>17.\u4ece\u591a\u4e2a\u6587\u4ef6\u4e2d\u8bfb\u53d6\u6570\u636e<br>18.ItemReader\u7684\u5f02\u5e38\u5904\u7406\u548c\u91cd\u542f<br>19.ItemWriter\u6982\u8ff0<br>20.\u8f93\u51fa\u6570\u636e\u5230\u6570\u636e\u5e93<br>21.\u8f93\u51fa\u6570\u636e\u5230\u666e\u901a\u6587\u4ef6<br>22.\u8f93\u51fa\u6570\u636e\u5230xml\u6587\u4ef6<br>23.\u6570\u636e\u8f93\u51fa\u5230\u591a\u4e2a\u6587\u4ef6<br>24.ItemProcessor\u7684\u4f7f\u7528<br>25.\u9519\u8bef\u5904\u7406\u6982\u8ff0<br>26.\u9519\u8bef\u91cd\u8bd5<br>27.\u9519\u8bef\u8df3\u8fc7<br>28.\u9519\u8bef\u8df3\u8fc7\u76d1\u542c\u5668<br>29.JobLauncher\u5b9e\u73b0\u4f5c\u4e1a\u8c03\u5ea6<br>30.JobOperator\u7684\u4f7f\u7528<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u6b63\u5728\u4f7f\u7528 SpringBatch \u5b9e\u73b0\u6279\u5904\u7406\u7684\u65b9\u5f0f\uff0c\u540c\u65f6\u5728\u4f7f\u7528\u5305\u62ec Job\uff0cFlow\uff0c\u51b3\u7b56\u5668\uff0c\u76d1\u542c\u5668\u7b49\u65b9\u9762\u6709\u4e9b\u7591\u60d1\uff0c\u5219\u53ef\u4ee5\u5173\u6ce8\u6211\u7684\u516c\u4f17\u53f7\uff0c\u56de\u590d\u201cSpringBatch\u201d\u8fdb\u884c\u514d\u8d39\u83b7\u53d6\u8fd9\u5957\u89c6\u9891\u6559\u7a0b\uff01<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=4571\">SpringBatch \u89c6\u9891\u6559\u7a0b\u767e\u5ea6\u4e91\u5730\u5740\u514d\u8d39\u4e0b\u8f7d\uff01<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>SpringBatch \u5e76\u4e0d\u662f\u4e00\u4e2a\u65b0\u6846\u67b6\uff0c\u5b83\u6709\u597d\u51e0\u5e74\u7684\u5386\u53f2\u4e86\u3002\u4f30\u8ba1\u6211\u4e2a\u4eba\u7684\u89c2\u5bdf\uff0c\u5176\u5b9e\u6709\u4e0d\u5c11\u516c\u53f8\u90fd\u7528\u7684\u6709\u8fd9\u4e2a\u6846\u67b6 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1087,587,2037,1522,827],"class_list":["post-4571","post","type-post","status-publish","format-standard","hentry","category-java","tag-job","tag-spring-boot","tag-springbatch","tag-springboot","tag-827"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4571"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4571\/revisions"}],"predecessor-version":[{"id":4572,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4571\/revisions\/4572"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}