随着Internet的迅速发展,网上购物变得越来越流行。网上商城作为网上交易的主要平台,推动了电子商务的迅速发展。本系统是网上商城的一个典型的例子,网上食品销售管理系统是一个基于Internet,采用J2EE架构的分布式体系结构的思想模式,并根据现有的网上购物系统的现状而设计开发的电子商务平台。它不但可以扩大商家的规模和市场影响力,而且可以减少企业的经营成本,提高工作效率。
通过基于J2EE架构的网上购物系统的实验运行,表明了基于J2EE的体系架构能有效地提高web应用系统的开发效率,使系统具有较好的可移植性和可重用性。
本文首先介绍了网上购物系统的需求分析和可行性研究,然后论述了系统的设计目标,系统需求和总体设计方案,较详细的论述了系统的详细设计和实现并附上关键代码和效果图。在系统功能方面,本系统主要为用户提供了注册、购物车管理、商品搜索、用户资料修改等功能,为管理员提供了商品管理、商品类别管理、用户信息管理、订单管理等功能。在设计方面,本系统采用的是JSP+JavaBean的模式开发,采用Ajax技术来实现客户端的异步请求操作,可以实现在不需要刷新页面的情况下与服务器进行通信,从而减少用户等待时间。数据库采用目前比较流行的SQL Server 2000数据库。
关键词:数据库,J2EE架构,网上购物
ABSTRACT
With the rapid development of Internet, online shopping is becoming increasingly popular. Online Shopping Mall as the main platform for online transactions romotes the rapid development of e-commerce. Online Shopping Mall of the system is a typical example, on-line food distribution management system is based on the Internet, and using J2EE framework model, in accordance with the existing system and the status of online shopping to design and develop e-commerce platform . It can not only expands the business scale and market influence, but also reduces operating costs and enhance efficiency.
J2EE-based framework for online shopping system shows that the system based on J2EE architecture can effectively improve the development of web application system efficiency, the system has good portability and reusability. This paper first introduces that the online shopping system needs analysis and feasibility studies, and when we discuss the system design objectives, system requirements and design program, more detailed discussion of the detailed design realized. Finally, the article also carried out on-line shopping system, the system detection. The system is mainly provided for the user registration, shopping cart management, product search, modify user information and other functions, it provides administrators with the management of goods, goods category management, information management, order management and other functions. In terms of design, the system uses JSP + Java Bean pattern of development, the use of Ajax technology to achieve the client's asynchronous requests operation can be achieved in the situation and do not need to refresh the page while communicating with the server, so that we can reduce user waiting time. We use the very popular current SQL Server 2000 database.