基于j2ee的bolg系统的设计与实现--学位论文.doc
上传人:一只****呀盟 上传时间:2024-09-11 格式:DOC 页数:106 大小:5.2MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

基于j2ee的bolg系统的设计与实现--学位论文.doc

基于j2ee的bolg系统的设计与实现--学位论文.doc

预览

免费试读已结束,剩余 96 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

PAGEIIPAGEI中文题目:基于J2EE的Blog系统的设计与实现外文题目:DESIGNANDIMPLENMENTATIONOFBLOGSYSTEMBASEEDONJ2EE毕业设计(论文)(其中:外文文献及译文29页)图纸共0张完成日期2007年6月答辩日期2007年7月PAGEIIPAGEI摘要随着互联网络的发展,在自由精神与共享精神的影响下博客(Weblog,Blog)诞生了。Blog的产生让我们可以有更多的机会向别人展示我们自己的见解与日常生活中的信息。JAVA作为目前最为流行的技术之一,其企业版本(J2EE)在设计与实现Web应用方面非常适合。并且,目前基于J2EE的开源框架也已经非常成熟。可以利用现有的优秀框架进行系统的设计与构建。使用J2EE技术来设计实现Blog正是本文的目的所在。本文将设计并实现一个基于J2EE的Blog系统。该系统以Struts、Spring以及Hibernate框架为基础进行设计与构建。Struts、Spring以及Hibernate都是开源框架,分别实现MVC(Model-View-Control)、依赖注入(DependencyInjection)以及ORM(Object/RelationMapping)。为了提高系统的性能,持久层使用了延迟加载方式。而这种方式需要持久层接口的生命周期延续到表示层。通过对现有技术的分析并结合本系统的特点,笔者设计了一个延长持久层接口生命周期的有效方式,LongPersist机制。在利用以上技术的同时,通过分析Blog的特点,最终完成系统结构的设计与实现。本系统主要完成了用户的登录、注册以及管理功能,实现了用户文章的发表与管理。通过使用URLRewrite方式使用户方便的浏览自己以及其他用户的Blog。关键词:博客;J2EE;Struts;Spring;Hibernate;框架;AbstractWiththedevelopmentoftheInternet,undertheinfluenceofthespiritoffreedomandsharingblogwasborn.Theblogallowsustohavemoreopportunitiestodemonstrateourownviews,newsanddailylifetoothers.JAVAascurrentlythemostpopulartechnology,itsenterpriseversion(J2EE)indesignandimplementationofWebapplicationsisverysuitable.Moreover,theframeworksthatarebaseonJ2EEhavebeenverymaturesothatwecanmakeuseoftheexistingframeworkforoutstandingsystemdesignandconstruction.ByusingJ2EEtechnologyDesignBlogisthepurposeofthisdocument.ImanagedtodesignandrealizeaJ2EE-basedblogsystemwhichisbasedonStruts,SpringandHibernateframeworks.Struts,SpringandHibernateareopensourceframeworksrespectivelyMVC(Model-View-Control),DI(DependencyInjection)andtheORM(Object/RelationMapping).InordertoimprovetheperformanceofthesystemusingthePersistLayerLazyLoading.Thisapproachrequirespersistencelayerinterfaceextendslifecycletoexpressedlayer.Basedontheanalysisofexistingtechnologiesandcombiningthefeaturesofthesystem.IdesignedaninterfacelayerextensionlastingeffectivewaywhichcalledLongPersistmechanismbymyself.Usingthetechnologies,byanalyzingthecharacteristicsblog,IcompletedtheSystemdesignandimple