基于JSP的网上购物系统研究与设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着计算机的普及以及通信技术的发展,电子商务己成为全球增长最快的领域之一。经过多年的发展,网上购物也成为了一种人们必不可少生活方式,因此研究和设计一个电子商务系统是很有前景的。
     本文首先立足电子商务的角度,分析了电子商务的特点,深入研究了Java EE体系结构,分析研究了SSH2框架。Struts2是实现设计模式MVC控制层的经典框架。Hibernate是Java EE轻量级的持久层框架。拥有IoC容器和AOP模式的Spring框架为企业级应用提供了轻量级的解决方案。将以上三个框架整合,能够完美地开发出一个扩展性高、复用性高、移植性高的软件系统。
     本文接下来按照软件工程的规范对系统进行了需求分析,并对本系统的用户角色,功能模块进行了详细的分析与设计。本系统分为前台部分和后台部分。前台部分包括注册登录、商品浏览、商品购买、订单填写确认。后台部分包括商品分类的管理、商品信息的管理、订单的管理。
     通过架设一个B/S模式的电子商务系统,本文研究了SSH2框架、数据库的开发、JSP动态网页技术,以及HTML、CSS静态网页技术。在开发系统过程中研究并改进了Web中常用的分页算法,结合了当前移动互联网的趋势,设计与实现了手机版的网页,针对目前Web环境提出了防止SQL注入的方案。
Along with the popularization of computer and the arrival of the era of Internet, E-commerce has become one of the world's fastest growing field. After years of development, online shopping has become an indispensable part in people's life. Researching and designing a useful electronic commerce system has big prospect
     Based on the electronic business point of view, this paper firstly analyzes the characteristics of the electronic commerce, then Java EE application system and the technical architecture SSH2(Struts2+Spring+Hibernate) are analyzed and researched deeply. Struts2is a classical realization of the control layer in MVC design pattern. Hibernate is a lightweight lasting layer framework in Java EE. Having the IOC containers and AOP model, Spring framework provides a lightweight solution for application of enterprise level. With an integration of the three framework mentioned above, a software system with high expansibility, high reusability is high, high portability will be developed perfectly.
     Secondly, this paper dose the requirement analysis for the system according to the standard of software engineering, and have a detailed analysis and design on the potential users, function module of the system. The electronic commerce system is divided into two parts, the foreground system which includes registered login, commodity browsing, commodity purchase, order confirmation, fill in the module, and the background management part includes including commodity classification management, commodity information management, order management, etc.
     By developing an electronic business system through the B/S model, This paper studied the SSH2framework, database development, JSP dynamic Web technology, and also HTML, CSS Web technology. During development of the system process, this paper improved paging algorithm of web which is commonly used. At last, this paper combined with the current trend of mobile Internet, researching the mobile phone version Web design and implementation. In view of the present Web environment, this paper put forward to prevent SQL injection solution.
引文
[1]http://www.hangzhou.eom.cn/20040101/ca531880.html杭州网
    [2]Abdellatif T Enhancing the management of a J2EE application server using a component-based Achiteeture Software Engineering and Adwanced Applieations 2005 31st EUROMICRO Conference on 2005 70-77
    [3]王勇.基于J2EE技术的WEB事务研究与应用[D].:南京理工大学,2006.
    [4]刘博.基于J2EE轻量级框架的构建及应用[D].:北京邮电大学,2007.
    [5]张帆,刘嵩.WEB应用架构模式的分析及应用[J].微型电脑应用,2011,(1).
    [6]王挥.EJB组件技术在电子政务系统中的应用与研究[D].:华中师范大学,2006.
    [7]薛永飞.基于JBPM和J2EE的漏洞库审批工作流管理系统的研究与实现[D].:北京邮电大学,2010.
    [8]王汝强.基于NHibernate的MIS系统多层架构的研究与应用[D].:重庆大学,2006.
    [9]王学东.电子商务课程体系建设与改革研究[Z].湖北省:华中师范大学,.
    [l0]陆聪慧.订单管理系统中用户管理模块的设计[J].科技信息,2009,(19).
    [11]刘洋.浅谈信息应用系统中的测试监理[J].数字技术与应用,2011,(8).
    [12]张猛.软件可靠性测试研究[D].:电子科技大学,2006.
    [13]武秦欣.自动化测试技术在软件项目中的应用[D].:西安建筑科技大学,2006.
    [14]黄莹.软件测试技术与测试管理[J].工业控制计算机,2003,(5).
    [15]http://baike.baidu.com/view/268862.htm
    [16]衡友跃,李江华,仲红,刘锋.设计模式在业务逻辑层中的应用[J].电子设计工程,2009,(7).
    [17]陈小兵,张汉煜,骆力明,SQL注入攻击及其防范检测技术研究[J].计算机工程与应用,2007,43(11):150-152.
    [18]黄景文.SQL注入攻击的一个新的防范策略[J].微计算机信息,2008(6):31-32.
    [19]黄烟波,朱艳峰.基于ASP技术的Web网站多级安全机制[J].微型电脑应用.2000(6):43-44
    [20]史冲,张林科,雷朝峰.浅谈数据库设计与建设[J].中国城市经济,2010,(5).
    [21]张峤.基于J2EE平台MIS可重用开发模式的研究[D].:浙江大学,2006.
    [22]杨丽萍,王薇,曾华荣.基于SSH架构的大学生创新创业教育网络平台设计[J].软件导刊,2011,(6).
    [23]杜超.基于Struts框架网上购物系统的研究与实现[D].:武汉理工大学,2007.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700