文档介绍:毕业设计(论文)
题目:
基于Struts + Spring + Hibernate
的购物网站设计与实现
学生姓名
曹逸
学号
200520100303
分院
信息工程分院
专业班级
计算机503班
指导教师
曹平
2009年5月杭州
摘要
本设计运用当前主流的Java技术,采用MVC开发模型,以Struts、Spring和Hibernate框架为基础开发了一个轻量级的网上购物系统。Struts用作控制器,Spring作为业务层,Hibernate作为数据持久层,开发中同时使用JSTL标签库。这些技术的整合,使得系统在各方面都能达到要求,并有利于系统的维护和升级。
系统分为前台部分和后台部分,前台部分主要实现的功能有顾客的注册和登录功能、查看商品信息功能、搜索商品的功能、购物车、收藏夹功能、个人信息维护管理功能;后台部分主要实现管理员管理商品信息、订单信息、目录信息和用户信息。其中购物车可以在用户未登录的情况下操作,并且原有的商品与现有的商品可以相互叠加。
关键词:网上购物系统;Struts;Spring;Hibernate;JSTL;MVC模式
ABSTRACT
This design uses the mainstream Java technology to develop a lightweight online shopping application. MVC software developing model is adopted, based on the popular framework consisting of Struts, Spring and Hibernate, where Struts behaves as the controller layer, Spring as the service layer, and Hibernate as the data persistence layer. JSTL library is also used. With all these technologies together, the application achieves all the design purposes, and is flexible for update and maintenance.
The application consists of two main subsystems, the front end subsystem and the central management subsystem. For the front end subsystem, the features involve customer registration, login, information retrieval on merchandises, product search, shopping cart, preference folder, customer profile update. Product information update, orders process, category and user information management are the functions of the central management subsystem. In the mean time, the shopping cart can be used without login, the selected item can be added automatically.
Key Words:Online shopping system;Struts; Hibernate;JSTL;The Model of MVC
目录
1 引言 1
2 相关知识和技术背景 2
J2EE概述 2
MVC设计模式 3
Struts MVC设计模式 3
Spring框架 4
Hibernate框架 5
Struts、Spring、Hibernate的整合 6
JSTL标签库 7
3 系统需求分析 8
B2C系统模块介绍 8
确定用户需求 9
需求规定 10
对性能的规定 10
输入输出要求 10
数据管理能力要求 10
故障处理要求 10
运行环境需求 10
4 系统概要设计 11
总体设计 11
环境配置 11
系统结构 11