您的位置:首页  > 论文页面

基于JMS的订单后督系统设计与实现

发表时间:2013-08-31  浏览量:1025  下载量:476
全部作者: 匡荣杰,杨恢东
作者单位: 暨南大学信息科学技术学院
摘 要: 设计基于jdk1.6的开发环境,在Eclipse开发平台上编写完成,后台数据表的设计基于关系型数据库管理系统MySQL实现。整个设计采用生产者消费者模式,将系统分为2个相互独立的部分,以Java消息服务(Java message service,JMS)的消息中间件进行连接,两部分线程可以同时运行。在系统信息配置和处理线程控制方面进行优化处理。系统将配置信息以数据表的形式存放在后台数据库中,易于提取,无须解析,并为实现操作人员以窗口的形式管理系统信息提供了可行性。另一方面,在不影响系统处理速度的前提下,利用Java反射机制将多个消费线程浓缩为2个,并确保系统在添加新的查询方式后,无须对原代码进行修改,提高了系统的可扩展性。经测试,系统可以部署到服务器上正常运行,运行结果证明订单后督系统可以有效、及时地查找出错误订单,并进行相应处理。而新增的查询方式,在系统重启后,也可正常运行,且运行结果无误。
关 键 词: 计算机信息管理系统;Java消息服务;MySQL;支付平台;生产者;消费者
Title: Design and implementation of the order inspection system based on JMS
Author: KUANG Rongjie, YANG Huidong
Organization: College of Information Science and Technology, Jinan University
Abstract: This design was implemented by Eclipse development platform in jdk1.6 development environment. The design of datasheet was based on MySQL. This system was designed by producer-consumer design patterns, and was divided into two parts, the two parts was connected by Java message service (JMS) and could run independently. This design had done the optimization on configuring system information and controlling processing thread. System information was saved in the datasheet of background database, so that it was easy to extract for the system, and improved feasibility to achieve the function of managing the system information by the form of windows. On the other hand, this design reduced the number of consumer threads to two by reflex mechanism of Java under the premise of unaffecting the processing speed. Meanwhile, it made sure that the system needn’t add new code when manager added new system information, so that the extensibility of system was improved. After testing this system, the running results proved that this system could find out the wrong orders immediately and do the corresponding treatment. When manager added new information into the system, it also could work normally, and get a correct result.
Key words: computer information management system; Java message service; MySQL; payment platform; producer; consumer
发表期数: 2013年8月第16期
引用格式: 匡荣杰,杨恢东. 基于JMS的订单后督系统设计与实现[J]. 中国科技论文在线精品论文,2013,6(16):1526-1529.
 
0 评论数 0
暂无评论
友情链接