摘要
基于Quartz和Spring设计了一种针对彩铃Web服务器的定时调度框架,并举例说明该框架在彩铃业务中的应用.该框架与Servlet容器脱离,以独立的进程驻留系统,框架的启动停止由脚本控制.框架采用了分层体系结构,使用了IoC的设计思想,定义了方便用户实现不同功能的任务接口,设计了任务开发、部署和维护的全过程,并加入了任务单次执行的功能.
A timed scheduling framework for CRBT Web Server is presented on the basis of Quartz and Spring. The framework, which residents in the operating system as a standalone process, is out of the Servlet container. The startup and shutdown is controlled by scripts. The framework used the layered architecture and introduced the inversion of control ideology; It defined several job interfaces which provides the framework users different functions; It designed the work flow for the development deployment and maintenance of a scheduling job and additionally added the job-once-execution module.
出处
《北京工商大学学报(自然科学版)》
CAS
2008年第6期34-38,共5页
Journal of Beijing Technology and Business University:Natural Science Edition
基金
国家杰出青年科学基金资助项目(60525110)
国家973计划项目(2007CB307100,2007CB307103)
新世纪优秀人才支持计划项目(NCET-04-0111)
电子信息产业发展基金资助项目(基于3G的移动业务应用系统)