1、 I 基于 J2EE 的网上文化用品商店的设计与实现 摘要 设计作品的内容是设计并且实现一个基于 j2EE 技术的网上文化用品商, 它可以实 现在网上购买所需要的文化用品的功能,包括用户登录,商品管理以及订单处理等功 能。 本系统以j2EE作为开发的基础,主要使用了spring+struts2+hibernate 等多种框 架结合使用, 用 myeclipse 作为开发工具, 以 SQL Server 作为数据库, 以 Dreamweaver 作为美化界面的工具,页面采取动态页面开发技术,使用 JAVA 语言开发。 该系统的优点是容易维护、操作方便并且界面简单,缺点是功能不是非常丰富, 不适合
2、用户量巨大的购物平台。 关键词:网上文化用品商店;S.S.H;JAVA ;JavaScript(JSP) 1 II Based on the J2EE the design and implementation of online culture supplies store ABSTRACT The content of the design work is to design and implement a cultural goods online business based on the j2EE technology, it can be implemented in the on
3、line purchase need the function of cultural goods, including user login, goods management, and order processing, and other functions. This system based on j2EE as a development, mainly USES the spring + struts 2 + hibernate and other framework used in combination, use myeclipse as a development tool
4、, SQL Server as database, using Dreamweaver as beautify interface tools, page dynamic development technology, USES JAVA language development. The system has the advantage of easy maintenance, easy operation and simple interface, the disadvantage is that function is not very rich, is not suitable for
5、 users huge shopping platform. Keywords:Online shopping mall;SSH;JAVA;JavaScript(JSP) III 目录 1 绪 论 1 1.1 课题研究的背景 1 1.2 课题研究的意义 1 1.3 课题研究的主要内容 2 2 系统开发环境及技术的简介 3 2.1 系统开发环境 3 2.1.1 MyEclipse . 3 2.1.2 数据库简介 3 2.1.3 Tomcat 3 2.2 系统开发的思想与技术 4 2.2.1 JSP 技术与 MVC 模式以及系统的基本框架 . 4 2.2.2 S.S.H 框架的优点 . 4 3 系
6、统总体设计 6 3.1 总体功能模块 6 3.2 系统管理员的功能模块 7 3.3 用户功能模块 7 3.4 系统业务描述 7 3.5 程序流程图 8 4 系统详细设计与实现 9 4.1 系统和数据库的配置 9 4.2 概念模型设计 9 4.3 数据库逻辑模型 9 4.4 数据库表结构 . 14 4.5 平台数据表的设计 . 17 5 系统功能实现 . 20 5.1 程序的类图 . 20 5.1.1 订单 Dingdan 类图 . 20 5.1.2 订单条目 Dingdanitem 类图 . 20 5.1.3 订单统计 Tongjidj 类图 20 5.1.4 购物车 Gouwuche 类图 21 5.1.5 评价 Pingjia 类图 . 21 5.1.6 商品分类 Cagegory 类图 22 5.1.7 商品统计 Tongjiproduct 类图 . 22 IV 5.1.8 收货信息 Shouhuo 类图 . 23 5.1.9 用户 User 类图 23 5.2 系统功能实现的主要模块 . 24 5.2.1 网站的主页 . 24 5.2.2 用户注册页面 . 24 5.2