隨著Internet的迅速發(fā)展,網(wǎng)上購物變得越來越流行。網(wǎng)上商城作為網(wǎng)上交易的主要平臺,推動了電子商務的迅速發(fā)展。本系統(tǒng)是網(wǎng)上商城的一個典型的例子,網(wǎng)上食品銷售管理系統(tǒng)是一個基于Internet,采用J2EE架構的分布式體系結構的思想模式,并根據(jù)現(xiàn)有的網(wǎng)上購物系統(tǒng)的現(xiàn)狀而設計開發(fā)的電子商務平臺。它不但可以擴大商家的規(guī)模和市場影響力,而且可以減少企業(yè)的經(jīng)營成本,提高工作效率。
通過基于J2EE架構的網(wǎng)上購物系統(tǒng)的實驗運行,表明了基于J2EE的體系架構能有效地提高web應用系統(tǒng)的開發(fā)效率,使系統(tǒng)具有較好的可移植性和可重用性。
本文首先介紹了網(wǎng)上購物系統(tǒng)的需求分析和可行性研究,然后論述了系統(tǒng)的設計目標,系統(tǒng)需求和總體設計方案,較詳細的論述了系統(tǒng)的詳細設計和實現(xiàn)并附上關鍵代碼和效果圖。在系統(tǒng)功能方面,本系統(tǒng)主要為用戶提供了注冊、購物車管理、商品搜索、用戶資料修改等功能,為管理員提供了商品管理、商品類別管理、用戶信息管理、訂單管理等功能。在設計方面,本系統(tǒng)采用的是JSP+JavaBean的模式開發(fā),采用Ajax技術來實現(xiàn)客戶端的異步請求操作,可以實現(xiàn)在不需要刷新頁面的情況下與服務器進行通信,從而減少用戶等待時間。數(shù)據(jù)庫采用目前比較流行的SQL Server 2000數(shù)據(jù)庫。
關鍵詞:數(shù)據(jù)庫,J2EE架構,網(wǎng)上購物
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.