毕业设计题目:基于SSH构架的博客系统的设计和实现Englishtitle:TheDesignandImplementationfortheblogssystembasedonSSH姓名:xxxxx学号:xxxxxxx专业名称:计算机科学与技术指导教师:xxxxx二零一零年五摘要摘要本文研究了当今博客系统的市场需求和种种的优势与不足,以及博客在中国发展迅速这一现状,提出了开发一个专业的博客管理系统的思想。本文对博客系统的运行机制、组成、相关可应用技术进行了深入的研究和分析,确定符合现在博客管理的需求,详细阐述了系统的总体设计和详细设计,并在此基础上,应用当前最流行的J2EE三层结构、JSP技术、数据库等与系统开发相关的技术完成系统主要功能的实现。本博客系统致力为广大用户提供优质的互动交流平台,实现对博客发表文章、评论、图片、好友等数据的管理,同时实现了博客内容及时、快速更新的功能,系统不仅保留了传统博客系统的功能,还加上了一些人性化的界面设计,使用户对博客的操作更为的方便。为了满足博客信息管理系统的要求,实现系统静态与动态页面的相互分离,本系统采用了SSH构架设计,从职责上分为三层:表示层、业务逻辑层、数据持久层。其中使用Struts2作为系统的整体基础架构,负责MVC的分离,在Struts2框架的模型部分,利用Hibernate框架对持久层提供支持,业务层用Spring支持。具体做法是:用面向对象的分析方法根据需求提出一些模型,将这些模型实现为基本的Java对象,然后编写基本的DAO接口,并给出Hibernate的DAO实现,采用Hibernate架构实现的DAO类来实现Java类与数据库之间的转换和访问,最后由Spring完成业务逻辑。关键词:表示层;业务逻辑层;数据持久层;Struts;Hibernate;Spring东华理工大学长江学院毕业设计AbstractAbstractInthispaperanalyzesthemarketdemandofbloggingsystemanditsadvantagesandinadequate,andthestatusofthatblogsdevelopedrapidlyinchina.Proposedtodesignacorporatessh-basedbolgsystemsthinking.PapersontheBlogSystemoperationmechanism,composition,relatedtechniquescanbeappliedtoin-depthresearchandanalysis,detaileddesignofthesystemanddetaileddesign,andonthisbasis,applicationofthemostpopularj2eethree-tierstructureandjsptechnology,databasesandthesystemsdevelopmentoftechnologytocompletesystemofthemainfeatures.Thisblogsystemiscommittedtoofferhighqualityinteractiveexchangeplatformforcustomers.Implementemanagethedataofpublisharticles,comments,pictures,companionsandsoon.ThesystemusesSSHframeworkdesigninordertomeetthebloginformationmanagementsystemrequirements,andimplementthestaticanddynamicpagesseparate.Thesystemisdividedintothreelayersbasedonthefunctions;therearePresentationLayer,BusinessLogicLayerandDataPersistenceLayer.ItusesStruts2asoverallinfrastructuretoseparatetheMVC.InthemodelpartoftheStruts2,itusesHibernateframeworktosupportpersistencelayerandusesSpringframeworktosupportbusinesslayer.Thespecificapproachisaccordingtothedemandtoproposesomemodelswiththeobject-orientedanalysismethod,andrealizesthesemodelsforbasicobjectofJava,thencompilesthebasicDAOconnectionandrealizesitinHibernate.ItusestheDAOwhichmadebytheHibernateframeworktoachievetheconversionandaccessbetweenJavaanddatabase,finallyitcompletestheservicelogicbySpringframework.Keywords:PresentationLayer;BusinessLogicLayer;Datapersistencelayer;Struts;Hibernate;Spring目录目录绪论..................................................................................................................................11.1概述...................................................................................................................11.2研究背景和发展趋势.......................................................................................11.2.1研究背景................................................................................................11.2.2发展趋势................................................................................................21.3研究的目的和意义...........................................................................................21.4本文工作概述...................................................................................................21.5本文结构...........................................................................................................3第2章系统相关技术....................................................................................................42.1体系结构...........................................................................................................42.2JSP简介.............................................................................................................42.3ECLIPSE简介...................................................................................................52.4TOMCAT简介...................................................................................................52.5MYSQL简介.....................................................................................................52.6Struts2简介........................................................................................................62.7Spring简介........................................................................................................62.8Hibernate简介...................................................................................................6第3章系统分析............................................................................................................83.1系统可行性分析:...........................................................................................83.2系统需求分析:...............................................................................................83.2.1功能需求分析........................................................................................83.2.2系统的业务需求及流程........................................................................93.2.3系统数据分析及数据流图....................................................................93.2.4系统数据字典......................................................................................10第4章系统数据库设计.........................................