点击上面课题下载设计演示录像(建议用电脑用爱奇艺万能播放器看录像)
摘 要
本文研究了当今博客系统的市场需求和种种的优势与不足,以及博客在中国发展迅速这一现状,提出了开发一个专业的博客管理系统的思想。本文对博客系统的运行机制、组成、相关可应用技术进行了深入的研究和分析,确定符合现在博客管理的需求,详细阐述了系统的总体设计和详细设计,并在此基础上,应用当前最流行的J2EE三层结构、JSP技术、数据库等与系统开发相关的技术完成系统主要功能的实现。
本博客系统致力为广大用户提供优质的互动交流平台,实现对博客发表文章、评论、图片、好友等数据的管理,同时实现了博客内容及时、快速更新的功能,系统不仅保留了传统博客系统的功能,还加上了一些人性化的界面设计,使用户对博客的操作更为的方便。
为了满足博客信息管理系统的要求,实现系统静态与动态页面的相互分离,本系统采用了SSH构架设计,从职责上分为三层:表示层、业务逻辑层、数据持久层。其中使用Struts2作为系统的整体基础架构,负责MVC的分离,在Struts2框架的模型部分,利用Hibernate框架对持久层提供支持,业务层用Spring支持。具体做法是:用面向对象的分析方法根据需求提出一些模型,将这些模型实现为基本的Java对象,然后编写基本的DAO接口,并给出Hibernate的DAO实现,采用Hibernate架构实现的DAO类来实现Java类与数据库之间的转换和访问,最后由Spring完成业务逻辑。
关键词:表示层;业务逻辑层;数据持久层;Struts;Hibernate;Spring
In this paper analyzes the market demand of blogging system and its advantages and inadequate, and the status of that blogs developed rapidly in china. Proposed to design a corporate ssh-based bolg systems thinking. Papers on the Blog System operation mechanism, composition, related techniques can be applied to in-depth research and analysis, detailed design of the system and detailed design, and on this basis, application of the most popular j2ee three-tier structure and jsp technology, databases and the systems development of technology to complete system of the main features.
This blog system is committed to offer high quality interactive exchange platform for customers. Implemente manage the data of publish articles, comments, pictures, companions and so on.
The system uses SSH framework design in order to meet the blog information management system requirements, and implement the static and dynamic pages separate. The system is divided into three layers based on the functions; there are Presentation Layer, Business Logic Layer and Data Persistence Layer. It uses Struts2 as overall infrastructure to separate the MVC. In the model part of the Struts2, it uses Hibernate framework to support persistence layer and uses Spring framework to support business layer. The specific approach is according to the demand to propose some models with the object-oriented analysis method, and realizes these models for basic object of Java, then compiles the basic DAO connection and realizes it in Hibernate. It uses the DAO which made by the Hibernate framework to achieve the conversion and access between Java and database, finally it completes the service logic by Spring framework.
Key words: Presentation Layer; Business Logic Layer; Data persistence layer; Struts; Hibernate; Spring
目 录