(此文档为word格式,下载后您可任意编辑修改!)
本科毕业论文(设计)
题 目 基于Jsp的网上购物系统设计 学生 专业名称 指导教师
I
I 基于J2EE的网上购物系统的设计
摘 要: 在Internet飞速发展的今天,互联网已成为人们快速获取、发布和传递信息的重要渠道,它在人们政治、经济、生活等各个方面发挥着重要的作用。由于网上购物的兴起,消费者的购物过程变得越来越轻松、快捷,人们足不出户就可以购买所需商品,从而方便的满足了现代人快节奏的生活方式。与此同时,网上销售不仅能有效的节省了运输、储藏等运营成本,而且跨越了交易的地域局限性。因此能够满足以上要求的电子商务网站越来越受到人们的重视,它已成为各行业经营者营销的主要手段。本文以开发网上购物系统为背景,对基于MVC模式的Struts框架、Hibernate的ORM机制和对持久化对象持久化的管理,以及Spring IoC(控制反转)技术进行了探讨,整合这三种框架:表现层使用Struts;持久层使用Hibernate进行系统的开发。此外,结合具体的实例对系统的设计与实现作了详细的说明,验证了以上方法的可行性。最后,对基于SSH技术开发购物系统整个过程进行了总结。
关键词: J2EE;MVC ;Struts;Hibernate ;Spring ;整合
II Design of Technology-based Online Shopping
System J2EE
Abstract: Today, with the development of Internet, The internet important
channel for fast receiving, releasing and sending information. An important role is being played in people's political, economic and the other aspects of life. Because of the rise of online shopping, going shopping is becoming increasingly easier and faster for consumers. People can purchase the necessary goods at fast-paced lifestyle facilitatingly. At the same time, online marketing can effectively save the transport, storage and other operating costs, it also can beyond the geographical limitations of the transaction. Therefore, more and more attention paid to the e-commerce sites, the e-commerce sites that are able to meet the above requirements . The e-commerce sites mostly used by the industry operators for marketing. The article is based on the developing of online shopping system. The struts framework, Hibernate's ORM mechanism, the persistence management of persistent object and Spring IoC(Inversion of Control) technology will be discussed .The Struts framework is based on MVC. These three frameworks are integrated: Struts are used in presentation layer, spring is used in business layer, Hibernate develops system is used in persistence layer. Besides, with the context of specific examples, detail description is done about the design and implementation of the system, and the feasibility of the above methods is verified. In the end , summarization is made about the advantages and disadvantages of the shopping system development. The shopping system is based on the SSH technology.
Keywords: J2EE ; MVC ; Struts ; Hibernate ; Spring ; Integration
III
目 录
1系统的开发背景 ................................................... 1 1.1问题的提出 ................................................... 1 1.2 问题的解决................................................... 1 1.3 本章小结 .................................................... 1 2 SSH相关技术的介绍 ............................................... 2 2.1 STRUTS的介绍 ................................................. 2 2.2 HIBERNATE技术 ................................................. 2 2.3 JSP语言 ..................................................... 3 2.4 XML语言 ..................................................... 4 2.5 本章小结 .................................................... 4 3系统的需求分析 ................................................... 4 3.1 编写目的 .................................................... 4 3.2 系统目标 .................................................... 5 3.3 运行环境搭建 ................................................. 5 3.4 功能需求 .................................................... 5 3.4.1功能模块划分: ........................................................................................... 5 3.4.2功能的描述: ............................................................................................... 6 3.5 性能需求 .................................................... 9 3.6 本章小结 .................................................... 9 4系统的概要设计 ................................................... 9 4.1 系统总体结构设计 ............................................. 9 4.1.1系统前台设计 ............................................................................................... 9 4.1.2系统后台设计 ............................................................................................. 10 4.2 数据库设计.................................................. 10 4.2.1 数据库设计需求分析 ................................................................................ 10 4.2.2 数据库表结构 ............................................................................................ 10 4.3 本章小结 ................................................... 15 5系统的实现...................................................... 15 5.1 整合SSH的关键代码 .......................................... 15 5.2 主要业务逻辑的代码 .......................................... 22 5.3 本章小结 ................................................... 37 总结 ............................................. 错误!未定义书签。 参考文献 ......................................... 错误!未定义书签。 致 谢 ........................................................... 37
IV
相关推荐: