首页> 中文期刊> 《现代电子技术》 >Java定时任务及其在工作流系统中的应用

Java定时任务及其在工作流系统中的应用

         

摘要

Under the background of JZEE platform-based workflow system, for the purpose of sending email for reminding the person that jobs will be due by inquiring database automatically and regularly in the system, using the timer and listener class of java to to extend a new listener class which can work periodically, and putting it into the configuration file of the project which can be triggered as soon as the container starts, the tasks can be scheduled and executed as appointed. The result of application shows that all the reminding email can be sent to the participants of the system exactly on time, so the solution works well on these problems and is valuable for referencing of other type system base on J2EE.%以基于J2EE平台的工作流软件系统为背景,以在系统中自动定时的通过查询数据库来发送工作到期提醒邮件为目的,在Java的定时器类和监听器类基础上,创新性的采用将两者相结合的方法.实现了能够定时执行任务的监听类,并将此类放入工程的配置文件中,当Web容器启动时自动加载来运行指定的任务.从系统应用的实际效果来看,能将所有提醒邮件按时准确的发送到每一个工作流的参与者手中,所以此方案能够方便有效的解决该类需求,同时对于基于J2EE的其他类型软件系统也有很好的参考价值.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号