节点文献

基于J2EE和XML的预付费式电子支付统一平台

【作者】 郭建民

【导师】 万振凯;

【作者基本信息】 天津工业大学 , 计算机应用技术, 2006, 硕士

【摘要】 随着计算机网络和信息技术的飞速发展,预付费式电子支付越来越受到人们的重视。而在目前的预付费式电子支付系统中大多是属于单项业务的预付费式支付系统,显然,这对于同时拥有多种业务的用户来说很不方便。如普通的家庭用户有多项消费,如水、电、煤气等。而在目前,用户交纳某种消费(如电)需要到指定的银行办理交费手续。因此研究预付费式电子支付的统一平台具有重要的意义并正在成为研究的热点。但如何实现跨平台、跨数据源的预付费式电子支付统一平台却是研究的难点。 本文通过采用J2EE体系和XML技术实现跨平台的异构数据系统的数据交换。从而实现预付费式电子支付统一平台。J2EE是基于跨平台性能卓越的JAVA语言的体系,而XML技术由于其本身特点正在成为数据交换的标准规范,两者的结合是解决跨平台、跨数据源的预付费电子支付统一平台难点的不错的选择。 本文以水、电、煤气的预付费式电子支付统一平台为例进行设计。平台主要分为两大模块:电子数据交换模块、基于Web的网络查询和网络支付模块。电子数据交换模块主要实现在客户端对数据库中的数据提取,并对提取出的数据通过采用Java数据绑定技术XML封装,使其形成统一的XML结构,之后将XML文档以文本流方式在网络上传送。而在服务端实现对传送过来的XML文档解编后更新中心数据库中的相关数据。基于Web的网络查询和网络支付模块采用MVC架构中的基于J2EE的Struts模式设计。对于中心数据库的数据操作采用会话Bean调用各实体Bean会话外观设计模式。 通过实际程序的测试,可以基本实现跨平台对异构数据源的数据的提取和基于Web的网络查询和网络交费的预付费电子支付统一平台。

【Abstract】 As the developing of the computer network and information technology, People begin to attach importance to the electro-prepay more and more. But, at present, most of the electro-prepay systems are single-business electro-prepay system. Clearly, it is very inconvenient to users with multi-businesses. For example, most of common domestic users have all kinds of consumptions in family, such as water-cost, power-cost, gas-cost etc. But, now, those users have to go to the assigned bank to pay some of cost, such as power-cost. So the research of the united electro-prepay system is more and more important and becoming the hotspot of research. But the difficulty in research is how to realize the trans-operating system and trans-data source united electro-prepay systemThe paper designs the united electro-prepay platform based on the water, power and gas. The platform can be divided into two modules: Electronic-Data-Interchange module, Web-Query and Web-Pay module. The Electronic-Data-Interchange module can make the following operations. First, it extracts the data in client. Second, it packs the data in XML document by the Java DataBinding technology, which makes the data into the united XML structure. Third, it transfers the XML document to the server side in the form of text stream on network. At server side, the server unmarshals the XML document into the central-database. Web-Query and Web-Pay module is designed by the Struts pattern of the MVC architecture based on J2EE. And the operation of the central-database adopts the Facade-Session Bean design mode, which uses the session bean to access the entity bean.After the tests of the program, the united electro-prepay platform can basically make the extraction of the data in trans-data source and Web-Query and Web-Pay.

  • 【分类号】TP319
  • 【被引频次】1
  • 【下载频次】144
节点文献中: