基于spring网站业务逻辑层和数据持久的设计与实现.rar

RAR格式版权申诉手机打开展开

基于spring网站业务逻辑层和数据持久的设计与实现,基于spring网站业务逻辑层和数据持久的设计与实现1.5万字 44页包括开题报告和任务书 摘要随着软件市场的成熟,人们对软件作用期望值也越来越高,软件测试的重要性越发突出。本课题就是要建立一个专业的软件测试技术网站,供高校同学们学习和交流,同时能够为当地的软件测试人员提供了一个很好的交流平台,对测试技术的发展和提高起...
编号:88-34986大小:102.80K
分类: 论文>计算机论文

该文档为压缩文件,包含的文件列表如下:

内容介绍

原文档由会员 usactu 发布

基于Spring网站业务逻辑层和数据持久的设计与实现
1.5万字 44页
包括开题报告和任务书


摘要
随着软件市场的成熟,人们对软件作用期望值也越来越高,软件测试的重要性越发突出。本课题就是要建立一个专业的软件测试技术网站,供高校同学们学习和交流,同时能够为当地的软件测试人员提供了一个很好的交流平台,对测试技术的发展和提高起到了一定作用。本文阐述了网站业务逻辑层和数据持久层在本课题中的设计与实现。
本文引入了来自开源社区的Spring框架,通过分析其原理和实现,剖析了其两大核心机制IoC和AOP,指出基于这两个核心机制的Spring框架完全适用于一般Web应用的大部分功能和性能的要求。由于Spring本身“无侵入性”的特点,它可以方便地集成Hibernate O/R映射方案来取代Entity Bean解决方案。
在此基础上,本文提出以Spring框架为整个系统提供框架、集成Hibernate的分层开发方案。同时本文还详细阐述了系统研究开发过程,包括需求分析、数据库和系统详细设计以及系统实现。

关键词:Hibernate,Spring,IoC,AOP,O/R映射,分层



The Design and Implementation of The Business logic Layer and Data Persistence Layer for the Software Testing Website
Based on the Spring Technology

Abstract


With the developing of the software market, the people have increasingly high expectations upon the performance of the software; the importance of software testing is becoming more acute. The task is to establish a professional software testing technology web site for college students to study and exchange. At the same time, it also provides a good exchanging platform for the software testing engineers and play a positive role in the development of the software testing technology. And this paper describes the business logic layer and data persistence layer of the website in the issue of the design and implementation.
This paper makes use of the Spring framework originating from open sources and dissects its two key mechanisms-IoC and AOP by analyzing its principle and realization. It also points out that the Spring framework based on these two key mechanisms can be suitable for the majority request of general Web application in the function and performance. Due to its trait of "no intrusiveness", the Spring framework can easily integrate Hibernate to replace Entity Bean's O/R mapping solution.
On this basis, this paper proposes a structured developing program, whose framework is the Spring framework intergraded with Hibernate. Simultaneously this paper also elaborated the process of the system developing in detail, which includes requirement analysis, the design of the database and system and the implementation of the system.

Key words: Hibernate, Spring, IoC, AOP, Object Relational Mapping, Layer-built

目录
1. 绪论 1
1.1 课题背景及来源 1
1.2 课题研究的意义 1
1.3 论文结构 2
2. 基本理论知识及其应用 3
2.1 Spring框架综述 3
2.1.1 Spring框架简介 3
2.1.2 Spring体系结构 4
2.2 AOP在Spring上的应用 5
2.2.1 AOP面向方面编程的概念 5
2.2.2 Spring的AOP应用 6
2.3依赖注入模式 6
2.4 Spring Bean封装机制 8
2.4.1 Spring 的bean封装 8
2.4.2 Bean Wrapper 8
2.4.3 Bean Factory 9
2.5 Hibernate简介及体系结构 9
2.6 Hibernate工作原理 10
2.7 Hibernate的O/R Mapping 12
2.8 Hibernate操作持久化数据 13
2.9 SH框架整合 13
2.9.1 Spring 构建Hibernate的优点 13
2.9.2 Spring 对Hibernate的集成 14
3. 系统分析与设计 16
3.1 网站功能需求 16
3.1.1软件测试网站实现内容如下: 16
3.1.2确定系统的范围 16
3.1.3识别参与者: 16
3.1.4各类用户的功能 17
3.2 网站体系结构及处理流程 17
3.2.1网站总体系结构: 17
3.2.2网站学生端结构图: 19
3.2.3网站管理员端结构图: 20
3.2.4用户登录网站系统处理流程: 21
3.3数据库设计 23
3.3.1数据库表的关系 23
3.3.2 数据库数据结构设计 24
3.4系统详细设计 27
3.4.1 登录管理 27
3.4.2 新闻管理 27
3.4.3 用户管理 28
3.4.4作业管理 28
3.4.5答疑解惑 29
4.系统实现 30
4.1 运行环境 30
4.1.1 硬件环境 30
4.1.2 软件环境 30
4.2 开发环境 30
4.3 Spring实现业务逻辑层 30
4.4 Hibernate实现数据持久层 33
5. 总结 42
致谢 43
参考文献 44


参考文献
[7]郭峰.SPRING从入门到精通[M].清华大学出版社,2006,1-423.
[8]帅信忠,魏立峰.基于Spring与Hibernate组合框架构建的审计系统[J].微计算机信息,2006,07 (10):34-36.
[9]孟劼.精通Spring—Java轻量级架构开发实践[M]:人民邮电出版社,2006,200-584.
[10] Anil Hemrajani . Java敏捷开发—使用Spring、Hibernate和Eclipse
[11]Chris Richardson. Untangling enterprise Java[J].Queue,2006, 5 (4):10-23.
[12]Johnson, R. .J2EE development frameworks[J].Computer