SpringMvc自动任务调度之task实现项目源码

上传者: zhulin2012 | 上传时间: 2019-12-21 22:22:09 | 文件大小: 8.96MB | 文件类型: zip
但如果只是简单的跑个任务其实spring升级到3后已经自带任务调度器了,相比之下Spring task无论是理解还是使用都简单很多。但是Quartz有线程和线程管理以及集群等高级特性,所以大家可以自行选择了。不过一般情况下,觉得SpringTask足够了。 Spring Task提供两种方式进行配置,注解和配置文件。使用注解虽然简单,不用配置xml,但是相对于修改比较频繁的任务来说,打包编译的过程也是挺麻烦的,建议使用配置文件实现。

文件下载

资源详情

[{"title":"( 53 个子文件 8.96MB ) SpringMvc自动任务调度之task实现项目源码","children":[{"title":"关注科帮网获取更多源码.url <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"说明.txt <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"resource","children":[{"title":"spring-context.xml <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"task","children":[{"title":"TestJob.java <span style='color:#111;'> 609B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"classes","children":[{"title":"spring-context.xml <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"task","children":[{"title":"TestJob.class <span style='color:#111;'> 808B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 670B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"WebRoot","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"lib","children":[{"title":"jackson-annotations-2.2.3.jar <span style='color:#111;'> 32.70KB </span>","children":null,"spread":false},{"title":"spring-aop-4.0.6.RELEASE.jar <span style='color:#111;'> 344.54KB </span>","children":null,"spread":false},{"title":"spring-webmvc-4.0.6.RELEASE.jar <span style='color:#111;'> 647.07KB </span>","children":null,"spread":false},{"title":"spring-orm-4.0.6.RELEASE.jar <span style='color:#111;'> 358.88KB </span>","children":null,"spread":false},{"title":"commons-fileupload-1.2.1.jar <span style='color:#111;'> 56.42KB </span>","children":null,"spread":false},{"title":"spring-framework-bom-4.0.6.RELEASE.jar <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false},{"title":"spring-test-4.0.6.RELEASE.jar <span style='color:#111;'> 438.61KB </span>","children":null,"spread":false},{"title":"aopalliance-1.0.jar <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"json-lib-2.2.3-jdk15.jar <span style='color:#111;'> 145.01KB </span>","children":null,"spread":false},{"title":"spring-web-4.0.6.RELEASE.jar <span style='color:#111;'> 657.08KB </span>","children":null,"spread":false},{"title":"commons-lang.jar <span style='color:#111;'> 237.32KB </span>","children":null,"spread":false},{"title":"commons-logging.jar <span style='color:#111;'> 51.67KB </span>","children":null,"spread":false},{"title":"spring-core-4.0.6.RELEASE.jar <span style='color:#111;'> 954.09KB </span>","children":null,"spread":false},{"title":"spring-jdbc-4.0.6.RELEASE.jar <span style='color:#111;'> 414.65KB </span>","children":null,"spread":false},{"title":"jackson-databind-2.2.3.jar <span style='color:#111;'> 845.54KB </span>","children":null,"spread":false},{"title":"spring-messaging-4.0.6.RELEASE.jar <span style='color:#111;'> 262.22KB </span>","children":null,"spread":false},{"title":"spring-webmvc-portlet-4.0.6.RELEASE.jar <span style='color:#111;'> 171.59KB </span>","children":null,"spread":false},{"title":"spring-build-src-4.0.6.RELEASE.jar <span style='color:#111;'> 71.36KB </span>","children":null,"spread":false},{"title":"spring-beans-4.0.6.RELEASE.jar <span style='color:#111;'> 654.52KB </span>","children":null,"spread":false},{"title":"spring-context-4.0.6.RELEASE.jar <span style='color:#111;'> 954.85KB </span>","children":null,"spread":false},{"title":"commons-lang3-3.1.jar <span style='color:#111;'> 308.40KB </span>","children":null,"spread":false},{"title":"jstl.jar <span style='color:#111;'> 20.20KB </span>","children":null,"spread":false},{"title":"standard.jar <span style='color:#111;'> 384.04KB </span>","children":null,"spread":false},{"title":"spring-expression-4.0.6.RELEASE.jar <span style='color:#111;'> 200.55KB </span>","children":null,"spread":false},{"title":"commons-beanutils.jar <span style='color:#111;'> 184.25KB </span>","children":null,"spread":false},{"title":"jackson-core-2.2.3.jar <span style='color:#111;'> 188.18KB </span>","children":null,"spread":false},{"title":"spring-websocket-4.0.6.RELEASE.jar <span style='color:#111;'> 274.06KB </span>","children":null,"spread":false},{"title":"spring-jms-4.0.6.RELEASE.jar <span style='color:#111;'> 206.06KB </span>","children":null,"spread":false},{"title":"spring-instrument-tomcat-4.0.6.RELEASE.jar <span style='color:#111;'> 10.22KB </span>","children":null,"spread":false},{"title":"spring-tx-4.0.6.RELEASE.jar <span style='color:#111;'> 242.52KB </span>","children":null,"spread":false},{"title":"ezmorph-1.0.6.jar <span style='color:#111;'> 84.46KB </span>","children":null,"spread":false},{"title":"commons-io-1.3.2.jar <span style='color:#111;'> 85.72KB </span>","children":null,"spread":false},{"title":"spring-instrument-4.0.6.RELEASE.jar <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"commons-collections-3.1.jar <span style='color:#111;'> 546.26KB </span>","children":null,"spread":false},{"title":"spring-oxm-4.0.6.RELEASE.jar <span style='color:#111;'> 78.95KB </span>","children":null,"spread":false},{"title":"spring-context-support-4.0.6.RELEASE.jar <span style='color:#111;'> 132.25KB </span>","children":null,"spread":false},{"title":"spring-aspects-4.0.6.RELEASE.jar <span style='color:#111;'> 51.14KB </span>","children":null,"spread":false}],"spread":false},{"title":"web.xml <span style='color:#111;'> 704B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • csdn_coolhong1122 :
    不错 例子挺好的
    2018-07-24
  • w95780656 :
    不错 挺好的实例
    2018-07-09
  • SYSGIS :
    差评,啥都没有,就这还要5分???
    2018-06-29
  • 愿得一人心 :
    什麽都沒有,騙分的
    2018-05-01
  • ninetowns2008 :
    非常受用,谢谢。
    2018-04-02

免责申明

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