【编者按】网学网其他类别频道为大家收集整理了“GWAP--网上购物系统的开发“提供大家参考,希望对大家有所帮助!
论文字数:16963,页数:58
摘 要
GWAP---通用WEB应用平台( General WEB Application Platform)。
伴随着计算机技术在各行各业日益广泛和深入的应用,网络的概念早已深入人心。网络在各行各业的发展战略中占据了重要的位置,成为商家不可分割的部分。商品的宣传已不只局限于电视与报纸,网络已成为商家展示自己的另一个舞台。商家建立网站,将商家各方面的宣传与服务展现于网络中,通过网络更可实现如网上购物、信息查寻等功能,这些在改变我们原有经营方式与经营理念的同时,也为商家带来了更高的效益。因此,对于商家来说,拥有一个属于自己的网站是至关重要的。
本论文研究一种基于MVC架构的三层结构的网上购物系统,其开发主要包括后台数据库的建立、前台页面的web设计以及后台管理系统的设计。系统使用java语言并结合Struct2、Hibernate、Spring、Ajax、java script、HTML、Jsp/ Servlet等技术开发,利用Apache软件基金会提供的Tomcat应用服务器建立运行环境,再结合MySql建立数据连接关系。因为本系统采用的是J2EE(J2EE是一套全然不同于传统应用开发的技术架构,包含许多组件,主要可简化且规范应用系统的开发与部署,进而提高可移植性、安全与再用价值)开发及MVC三层架构设计思想,使得系统的可移植性非常强,只需修改配置文件就能在在不同服务器上运行。
购物网站的规划与建设这一课题,是应用前景非常广阔的!它的解决方案不仅仅可以针对购物的网站,同样可以应用于多种多样的网站建设。
21世纪是信息化的社会,互联网实现了世界范围的网络间的互联和信息共享,并已全面介入人类生产生活的方方面面,带动着人类社会的飞速发展。
关键词:GWAP、 Web技术、 MVC架构、 J2EE、 SSH框架
GWAP-LINE SHOPPING SYSTEM
ABSTRACT
GWAP --- General WEB application platform (General WEB Application Platform).
With the increasingly widespread in many sectors of computer technology and in-depth application of the concept of the network already enjoys popular support. Network development strategy in all industries occupy an important position as an integral part of business. Promotional products is not limited to television and newspapers have been, the network has become another arena to show their business. Businesses set up websites to promote all aspects of business and services displayed on the network, the network can achieve such as online shopping, information search and other functions, these changes in our original mode of operation and business philosophy, but also for dealers higher efficiency. Therefore, for the business, own a website is essential.
In this study, MVC architecture based on three layers of online shopping system, which mainly include database set up, front and back page of the web design management system. System using java language and integrate Struct2, Hibernate, Spring, Ajax, java script, HTML, Jsp /Servlet technologies development and use of Apache Software Foundation''s Tomcat application server running environment, combined with MySql to establish the database. Because this system uses a J2EE (J2EE is a set of completely different from traditional application development, technical architecture, contains many components, mainly to simplify and standardize application development and deployment, thus enhancing portability, security, and re-use value ) development and three-tier MVC design, making the system portability is very strong, simply edit the configuration file will be able to run on different servers.
Planning and construction of shopping sites this topic is very broad application prospects! Its solution can not only sites for shopping, the same can be applied to a wide range of website construction.
The 21st century is the information society, to achieve a worldwide network of Internet interconnection and information sharing between and has been fully involved in all aspects of production and life of human beings, driven the rapid development of human society.
Key words: GWAP, Web technology, MVC architecture, J2EE, SSH framework
目 录
摘 要 I
1 前 言 1
2 系统背景 2
2.1 GWAP概述 2
2.2 名词解释 3
2.3 GWAP研究目标、研究内容和拟解决的关键问题 4
3 系统规划 5
3.1 系统规划概述 5
3.2 系统规划的目标,任务和主要工作 5
3.3 系统规划工作的特点 6
3.4 项目实施前期工作 6
3.5 GWAP网上购物系统的总体设计思路 7
3.6 GWAP网上购物系统的建设原则 8
4 系统需求分析 9
4.1系统功能概述 9
4.1.1系统功能结构 9
4.1.2系统功能描述 10
4.2系统用例 11
4.2.1 顶级用例 11
4.2.1.1交易系统 11
4.2.1.2管理系统 12
4.2.2交易系统用例分析 12
4.2.2.1商品展示 12
4.2.2.2购物车 15
4.2.2.3订单管理 19
4.2.2.4用户管理 21
4.2.3管理系统用例分析 23
4.2.3.1用户管理 23
4.2.3.2商品管理 25
4.3系统流程图 27
5 系统设计 29
5.1系统逻辑 29
5.2系统总体设计 29
5.2.1 系统体系结构 29
5.2.2 系统总体功能结构 30
5.3 系统总体架构 32
5.4 数据库设计 33
5.4.1数据库设计规范 33
5.4.2数据字典 33
5.5 代码设计 37
5.5.1 代码结构 37
5.5.2 代码举例 41
6 系统实施与测试 43
6.1 系统部署 43
6.2 部分系统页面的展示 43
6.3 系统测试 47
总 结 48
谢 辞 49
参考文献 50