摘要在当今的社会计算机已经渐渐深入到人类生活的各个角落,在我们生活的周围,处处可见与网络息息相关的产品。尤其是最近几年,参加网络购物的人越来越多。这不仅仅是因为网上购物给我们带来了经济实惠,还因为在种类上,网上的东西种类更能够满足消费者的消费需求。因此,网络公司抓住机遇,无限个购物平台就这样出现了。与此同时,网上书店的平台也诞生了。41468
该网上书店系统采用JSP技术编写出开发过程中需要的页面,采用struts2框架实现各个操作及页面跳转,使用Mysql技术对数据进行处理,实现了用户登录注册、图书的浏览查询、购物车、订单、后台对图书的管理、用户信息管理、图书销售统计等系统功能。该系统有界面友好,功能齐全,条理清晰的特点。
该设计报告遵循软件工程导论设计思想,使用UML建模工具,完成了网上书店系统的设计,介绍了系统的需求分析,可行性分析,功能的设计,实现,以及测试方法和不足之处。 毕业论文关键词:网上购物 书店 JSP struts2
Design and Imp1ementation of On1ine Bookstore
Abstract In today's society the computer has gradual1y penetrated into every corner of human life, in our 1ives around, everything is c1ose1y re1ated with the network. Especia11y in recent years, more and more peop1e to participate in on1ine shopping. This is not on1y on the Internet to bring us economic benefits, but a1so because of the kind of on1ine shopping is more ab1e to meet consumer’s demand. Therefore, the network company to seize the opportunity, more and more shopping p1atform on this have appeared. At the same time,on1ine bookstore p1atform was born.
The on1ine bookstore system using JSP write the page which is needed in the deve1opment process, imp1ementation of each operation and page Jump by using Struts2 framework, using the MySQ1 techno1ogy for data processing, rea1ized the user 1ogin, book browsing query, shopping cart, orders, the background of books management, the user information management and the book sa1es statistics. The system has the characteristics of friend1y interface, comp1ete functions, c1ear and c1ear.
The design report fo11ows the introduction to software engineering design idea, using UML modeling tool, completed the design of online bookstore system, describes the system requirements analysis, feasibility analysis, function design, implementation, and testing method and deficiencies.
Key Words: On1ine shopping Bookstores JSP Struts2
目 录
摘要Ⅰ
Abstract-Ⅱ
目录Ⅲ
1 绪论-6
1.1课题背景6
1.2课题目的及意义6
1.3开发工具及软硬件需求-7
1.4 技术的介绍-7
2可行性分析-9
2.1 社会可行性分析-9
2.2 技术可行性分析-9
2.3 操作可行性分析-9
3需求分析10
3.1 系统需求分析-10
3.2 系统建模-10
4 系统设计-12
4.1 系统功能模块设计-12
4.2 系统数据库设计-12
5 系统的实现-18
5.1 搭建项目框架-18
5.2 前台模块的实现-19
5.3 后台模块的实现-13
5.4 系统部分代码-25
6 系统测试与分析-30
6.1 系统测试的目的和方法-30
6.2 测试实例-30
6.3 系统的不足之处及改进方法-31
7 结论32
参考文献33
致谢34
表清单
表序号 表名称 页码
表4-1 数据库 user表 11
表4-2 数据库product表 11
表4-3 数据库book表 12
表4-4 数据库item表 12
表4-5 数据库order表 12