摘要
重点介绍企业不同信息系统数据导入的其中一种实现方法,并比较其他实现方法的优劣,结合企业实际需求提出Tomcat执行定时任务实现不同系统数据导入。实现原理是通过Put In Context Listener侦听器实现Servlet Context Listener接口并装载Timer对象,Timer对象定时触发Put In Bean对象相应的方法,实现数据的导入。
Introduces a method to realize the import of data which between different enterprise information systems, and compared the other methods to realize the advantages and disadvantages, combined with the actual needs of enterprises, puts forward Tomcat execution timing task to achieve different system data import. The principle is to pass the PutInContextListener listener to implement the ServletContextListener interface and load the Timer object, timer object trigger timing method of the PutInBean object, to execute data import.
出处
《现代计算机》
2015年第6期54-56,共3页
Modern Computer