软件工程本科毕业外文文献翻译

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

二〇一五年一月本科毕业设计外文文献翻译翻译翻译学校代码:10128学号:内蒙古工业大学本科毕业设计外文文献翻译1TheTestLibraryManagementSystemofFrameworkBasedonSSHTheapplicationsystemfeaturesinsmallormedium-sizedenterpriselieinthegreaterflexibilityandsafetyhighperformance-priceratio.TraditionalJ2EEframeworkcannotadapttotheseneeds,butthesystemapplicationbasedonSSH(Struts+Spring+Hibernate)technologycanbettersatisfysuchneeds.ThispaperanalysessomeintegrationtheoryandkeytechnologiesaboutSSH,andaccordingtotheintegrationconstructsalightweightWEBframework,whichhasintegratedthethreekindsoftechnology,formingthelightweightWEBframeworkbasedonSSHandgaininggoodeffectsinpracticalapplications.IntroductionGenerallytheJ2EEplatform[27]usedinlargeenterpriseapplications,canwellsolvetheapplicationofreliability,safetyandstability,butitsweaknessisthepricehighandtheconstructingcycleislong.Correspondingtothesmallormediumenterpriseapplications,thereplaceapproachisthesystemframeworkoflightweightWEB,includingthemorecommonlyusedmethodswhicharebasedontheStrutsandHibernate.WiththewideapplicationofSpring,thethreetechnologycombinationmaybeabetterchoiceasalightweightWEBframework.ItuseslayeredstructureandprovidesagoodintegratedframeworkforWebapplicationsatalllevelsinminimizingtheInterlayercouplingandincreasingtheefficiencyofdevelopment.Thisframeworkcansolvealotofproblems,withgoodmaintainabilityandscalability.Itcansolvetheseparationofuserinterfaceandbusinesslogicseparation,theseparationofbusinesslogicanddatabaseoperationandthecorrectprocedurecontrollogic,etc.ThispaperstudiesthetechnologyandprincipleofStrutsandSpringandHibernate,presentingaprovedlightweightWEBapplicationframeworkforenterprise.HierarchicalWebMechanismHierarchicalWebframeworkincludingtheuserpresentationlayer,businesslogiclayer,datapersistencelayer,expansionlayeretc,eachlayerfordifferentfunction,respectivelytofinishthewholeapplication.Thewholesystemaredividedintodifferentl内蒙古工业大学本科毕业设计外文文献翻译2ogicmodulewithrelativelyindependentandmutual,andeachmodulecanbeimplementedaccordingtodifferentdesign.Itcanrealizethesystemparalleldevelopment,rapidintegration,goodmaintainability,scalability.StrutsMVCFrameworkToensurethereuseandefficiencyofdevelopmentprocess,adoptingJ2EEtechnologytobuildtheWebapplicationmustselectasystemframeworkwhichhasagoodperformance.Onlyinthiswaycanweensurenotwastinglotsoftimebecauseofadjustingconfigurationandachieveapplicationdevelopmentefficientlyandquickly.So,programmersinthecourseofpracticegotsomesuccessfuldevelopmentpatternwhichprovedpractical,suchasMVCandO/Rmapping,etc;manytechnologies,includingStrutsandHibernateframeworks,realizedthesepattern.However,Strutsframeworkonlysettledtheseparationproblembetweenviewlayerandbusinesslogiclayer,controllayer,didnotprovideaflexiblesupportforcomplexdatasavingprocess.Onthecontrary,Hibernateframeworkofferedthepowerfulandflexiblesupportforcomplexdatasavingprocess.Therefore,howtointegratetwoframeworksandgetaflexible,low-couplingsolutionsprojectwhichiseasytomaintainforinformationsystem,isaresearchtaskwhichtheengineeringstaffisstudyingconstantly.Model-View-Controller(MVC)isapopulardesignpattern.Itdividestheinteractivesysteminthreecomponentsandeachofthemspecializesinonetask.Themodelcontainstheapplicationdataandmanagesthecorefunctionality.Thevisualdisplayofthemodelandthefeedbacktotheusersaremanagedbytheview.Thecontrollernotonlyinterpretstheinputsfromtheuser,butalsodominatesthemodelandtheviewtochangeappropriately.MVCseparatesthesystemfunctionalityfromthesysteminterfacesoastoenhancethesystemscalabilityandmaintainability.StrutsisatypicalMVCframe[32],anditalsocontainsthethreeaforementionedcomponents.ThemodelleveliscomposedofJavaBeanandEJBcomponents.ThecontrollerisrealizedbyactionandActionServlet,andtheviewlayerconsistsofJSPfiles.Thecentralcontrollercontrolstheactionexecutionthatreceivesarequestandredirectsthisrequesttotheappropriatemodulecontroller.Subsequently,themodulecontrollerprocessestherequestandreturnsresultstothecentralcontrollerusingaJavaBeanobject,whichstoresanyo内蒙古工业大学本科毕业设计外文文献翻译3bjecttobepresentedintheviewlayerbyincludinganindicationtomoduleviewsthatmustbepresented.ThecentralcontrollerredirectsthereturnedJavaBeanobjecttothemainviewthatdisplaysitsinformation.SpringFrameworktechnologySpringisalightweightJ2EEapplicationdevelopmentframework,whichusesthemodelofInversionofControl(IoC)toseparatetheactualapplicationfromtheConfigurationanddependentregulationsoftheapplication.CommittedtoJ2EEapplicationatalllevelsofthesolution,Springisnotattemptingtoreplacetheexistingframework,butrather“welding”theobjectofJ2EEapplicationatalllevelstogetherthroughthePOJOmanagement.Inaddition,developersarefreetochooseSpringframeworkforsomeorall,sinceSpringmodulesarenottotallydependent.Asamajorbusiness-leveldetail,Springemploystheideaofdelayinjectiontoassemblecodeforthesakeofimprovingthescalabilityandflexibilityofbuiltsystems.Thus,thesystemsachieveacentralizedbusinessprocessingandreductionofcodereusethroughtheSpringAOPmodule.HibernatePersistentFrameworkHibernateisakindofopensourceframeworkwithDAOdesignpatternstoach

1 / 13
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功