1、目录目录 目录 .I 摘要 III 前言 . V 文献综述 . 错误错误!未定义书签。未定义书签。 第 1 章 绪论 1 第 1 节 背景 1 第 2 节 研究的目的与意义 . 2 第 2 章 设计简介及设计方案 3 第 1 节 设计原则 . 3 第 2 节 运行架构 . 3 第 3 节 设计方案 . 4 第 3 章 相关技术介绍 5 第 1 节 MVC 简介 5 第 2 节 SPRING 的起源和背景 6 第 3 节 HIBERNATE 概述 7 第 4 章 需求分析 . 8 第 1 节 注册博友 . 8 第 2 节 普通用户 . 9 第 5 章 系统架构设计 11 第 1 节 系统架构说明
2、: . 12 第 2 节 HIBERNATE层 . 12 第 3 节 实现 SERVICE 层 18 第 4 节 MVC 层实现 . 20 设计结果及对设计结果的分析 25 全文总结 . 28 致谢 30 参考文献 . 31 摘要 越来越多的网络用户希望能够在网络平台上更多地展现自己的个性,更方 便地与他人互动交流,拥有一个自己独立的空间,随着 Web2.0 时代的到来, 一个新的概念出现了博客。 首先介绍了博客网站设计的意义和背景,主流博客网站的主要功能。重点 介绍了基于 J2EE 架构的博客网站设计方案,实现的主要功能。 其次,重点讲述了博客网站的业务逻辑层和持久层的设计与开发过程中所 涉
3、及的技术及开源框架。系统如何以 Spring 框架为核心,向下整合 Hibernate 进行持久层访问,向上整合 Struts 按清晰的 MVC 模式控制,怎样划分应用的 层次。简述了页面的请求的分发及流程。 最后对 BLOG 网站开发中所碰到的一些问题,并针对这些问题提出一些解决方 案,最后对系统性能作出一些简要评估,阐述了一些个人想法。 关键词: 博客,J2EE, Spring,Struts,Hibernate Abstract More and more network users hope to unfold there characteristics in the network p
4、latform and interact with people more conveniently. From the begining of Web 2.0, a new concept of blog emerged. Firstly, we introduce the meaning and background of designing of blog site, and then introduce the main function of the blog site briefly. We also introduce the designing scheme of blog s
5、ite which is based on the architecture of J2EE. The main function carried out in our blog project is presented. Secondly, we introduce the designing of logic and permanent layer of the blog site. The technic and structure refered in the process of developing are presented. We also depict how to be a
6、round with frame of Spring, how to work with Hibernate to visit permanent layer below, how to work with Struts to control the clear MVC model up and how to divide layers of application. We also give the brief introduce of distribution and flow of pagesrequest. Finally, we discuss some problems about the blog realization and show schemes of solving problems. Brief evaluation on the performance of system is given.We give a comment on problems occurring in our work. Keywords: blog, J2EE, Spr