中英文翻译土木R101李成武.docx

上传人:b****3 文档编号:3752909 上传时间:2022-11-25 格式:DOCX 页数:11 大小:376.42KB
下载 相关 举报
中英文翻译土木R101李成武.docx_第1页
第1页 / 共11页
中英文翻译土木R101李成武.docx_第2页
第2页 / 共11页
中英文翻译土木R101李成武.docx_第3页
第3页 / 共11页
中英文翻译土木R101李成武.docx_第4页
第4页 / 共11页
中英文翻译土木R101李成武.docx_第5页
第5页 / 共11页
点击查看更多>>
下载资源
资源描述

中英文翻译土木R101李成武.docx

《中英文翻译土木R101李成武.docx》由会员分享,可在线阅读,更多相关《中英文翻译土木R101李成武.docx(11页珍藏版)》请在冰豆网上搜索。

中英文翻译土木R101李成武.docx

中英文翻译土木R101李成武

外文原文

ResearchonsoftwaredevelopmentplatformbasedonSSH

frameworkstructure

Abstract

Theresearchofsoftwaredevelopmentplatformisacomplexsystemengineering.ForthecurrentproblemsinthefieldofWebapplicationdevelopment,usecomputerrelatedtechnology,combinewiththemorepopularopensourceframeworkSSH,researchthesoftwaredevelopmentplatformthatbasedonSSHframeworkconstruction.Basedontheanalysisoftheexistingproblemsofsoftwaredevelopment,emphaticallystudiesthekeytechniquesofSSHframeworkplatform,includingthepresentationlayerframeworkStruts,businesslogicframeworkSpring,datapersistencelayerframeworkHibernate,J2EEframeworkintegratedthenewSSHandsoon.TheresearchcontentofthisarticleappliedtolargeWebprogramdevelopmententerprise,itmakesforpromotingproductivityandimprovingsoftwarequality,andhasanimportantsignificanttopromotethedevelopmentofsoftwareindustryinChina.

©2011PublishedbyElsevierLtd.Selectionand/orpeer-reviewunderresponsibilityof[CEIS2011]

Keywords:

SSHframework;softwaredevelopmentplatform;Struts;Spring;Hibernate;

1.Introduction

Thedevelopmentoflargeenterprise-classWebapplicationsystemusuallyrequiresagoodsoftwarearchitecturetofacilitatethecollaborativedevelopmentexpansionandupgrading,butthetraditionaldevelopmentmodelcan'tmeettheserequirements.ForthecurrentproblemsinthefieldofWebapplicationdevelopment,followingtheprinciplesandmethodsofsystemsengineering,comprehensiveusesoftwareengineering,databasesystems,computernetworks,object-orientedtechnology,andsoftwareautomaticgenerationplatformbasedonB/SstructureofJavaframework,tohelpdevelopersbuildaWebapplicationsystemofclearstructure,goodreusabilityandeasymaintenanceintheshortterm.

Thedesignideaisrunningbythefrontendprogramthatfrontlargedatabasessupported,thecodeofsoftwaredevelopmentautomaticallycompletebycomputer,programmersdon'tneedtomasterJavaanddatabasetechnologywillbeabletodevelopbettersoftwaresystems.Translatethetraditionalcodingofsoftwaredevelopmenttosystemanalysis,reducesthetechnicalrequirementsforsoftwaredevelopers,improvethedevelopmentproductivityofsoftware,andchangesthetraditionalsoftwaredevelopmentmodel.

2.ProblemsinSoftwareDevelopment

Atthisstagetherearemanyproblemsinsoftwaredevelopment,mainlyinthefollowingareas[1]:

(1)Thephenomenaofsoftwaredevelopment"demandexceedssupply"effectsthedevelopmentofenterprises.Differentcompaniesneeddifferentsoftware,withoutauniversalsoftwarecanbeappliedtoeachenterprisemanagementinformationsystem.Softwaredevelopmentcycleislong,codeerrors,softwarereliabilityispoor,unfavorabletomaintainandupgrade.Theneedthatenterpriseforsoftwaremorecomplex,andthesoftwareprovidedbysoftwaredevelopmentcompaniesenterprisearenotsatisfied.

(2)Softwarequalityisunreliable,softwaremaintenanceispoor,userstypicallyarenotsatisfiedwiththecompletedsoftware.Softwareerrorisinevitable,andsoftwaretestingneedtospendalotoftime.Softwaremaintenancepersonnelnotonlyunderstandbusinessprocesses,butalsofamiliarwithsoftwaredevelopmenttechnology,tosolveabuginthesoftwaremayintroducenewbugs,andmanypeoplearenotwillingtoengageinsoftwareMaintenance.IfSoftwareoftenwrong,willcauseusers'dissatisfaction,andultimatelybeabandoned.

(3)Softwaredevelopmentpersonnelcan'tmeettheneedsofthemarket,theyneedtomastertoomuchknowledge.Softwaredevelopmentrequiresmaster:

databasetechnology,databaseaccesstechnologyandavarietyofdatabasemanagementsystems,networkandInternettechnology,developmenttoolsandrelatedstructuresandclasslibraries,softwaretestingandanalysistools,andmanyothertechnologies.Astheaccelerationoftechnicalupgrading,developersconstantlylearningnewtechniquewhilebebusyworking,theburdenistooheavy.

(4)Thefrequentflowofsoftwaredevelopershasagreatlosstothecompany.Softwareistheintellectualproductsofpeople,eachonehastheirownprogramminghabits,ideasandmethods.It'sverydifficulttoreadsomeone'sprogram.Ifthedevelopersleavetheprojecthalf-way,otherswilldifficulttotakeover,andevenleaveafterthedeliveryofsoftwareprojects,othersalsoverydifficulttomaintain.

(5)Softwaredon'thavetheappropriatedocument,thatcausedgreatdifficultiestothelatterpartofthedevelopment,maintenanceandreconstruction.Softwaredevelopmentshouldbefirsttowriteadocumentthenwritetheprogram,modifytheprogramaftermodifythedocument.Butsomedevelopersdonotdevelopgoodhabits;somebusytowriteormodifytheprogramandforgettomodifythedocument,resultingininconsistentwiththedocumentandprocedures;manysoftwaredevelopmentcompanieshavenoclearrequirementsinthequantity,qualityandformatofthedocument.

3.KeyTechnologyofSSHFrameworkPlatform

Thedevelopmentoflargeenterprise-classWebapplicationsystemusuallyrequiresagoodsoftwarearchitecturetofacilitatethecollaborativedevelopmentexpansionandupgrading,andthemorepopularopensourceframeworkSSH,isalightweightsolutiontodeveloptheWebapplicationsofenterprise-classJ2EE.Atpresent,themarkettherehavebeensomecommercial,opensourceapplicationframeworkthat

basedonJ2EE,inwhichthemainstreamframeworktechnologiesareStrutsframeworkbasedonMVCpatternandSpringframeworkbasedonIoCpatternandobject/relationsmappingframeworkHibernateandsoon[1].

3.1.PresentationLayerFrameworkStruts

ItistheMVCframeworkrealizedonthebaseofJSPModel,mainlydividedintothreepartsofModel,

ViewerandController,thedesignconceptisdecouplingperformancelogicandbusinesslogicthroughController,toimprovethemaintainability,scalabilityandreusabilityofsystem[2-4].ThearchitectureofStrutsframeworkshowninfigure1.

 

Fig1.ArchitectureofStrutsframework

View.ViewmajorcomprisestheJSPpage,thereisnoprocesslogic,businesslogicandmodelinformation,onlymark.StrutsitselfcontainsasetofTagLib,whichisalsooneoftheessence,flexiblyusecansimplifythecodeofJSPpagesandimprovethedevelopmentefficiency.

Controller.TheControllerinStrutsisActionServletmainlyprovidedbyitself.ActionServletreceivesallrequestsfromclientsandtransfersthecontroltotheappropriateActionaccordingtotheconfigurationfile(struts-config.xml).

Model.Strutsdon'tdefinetheimplementationofspecificModellayer,Modellayerusuallycloselyrelateswithbusinesslogic,andhaspersistencerequirements.Atpresentincommercialareasandtheopensourceworld,bothhavesomeexcellenttoolsforfacilitatingthedevelopmentofModellayer.

3.2.BusinessLogicLayerFrameworkSpring

It'sapowerfullightweightframeworkthatsolutesmanycommonproblemsinJ2EEandcanreplaceEJBtechnology.LightweightrefershereistheSpringframeworkitselfratherthanmeansSpringcanonlybeusedforlightweightapplicationdevelopment[8].ThelightnessofSpringreflectsintheframeworkoftheirowninfrastructureandthesupportandassemblycapabilitiesforotherapplicationtools.ComparedwiththecolossusEJB,Springcanmakeprocessdevelopmentpersonnelreducetheriskthatbetweenthevarioustechniqueslevels.

Inthisway,withoutwritingfactorypattern,singlepattern,orotherconstructionmethod,candirectlytoobtainthenecessarybusinesscomponentsthroughthecontainer.ThestructureofSpringframeworkshowninfigure2.

Springframeworkconsistsofsevenwell-definedmodules,andeachmoduleorcomponentcanstandalone,

 

orrealizesjointwithoneormoremodules.SpringCoreContainerisusedtomanagetheIoCcontainerofbusinesscomponentof,isthecoreofSpringapplications;SpringDAOandSpringORMprovidesabstractionmoduleofdataaccess,alsointegratesonHibernate,JDOandiBatisandsopopularsupportforobject-relationalmappingframeworkModule,andprovidesabufferconnectionpooling,transactionprocessingandotherimportantservicesfunctiontoensurethesystemperformanceanddataintegrity;SpringWebmoduleprovidesanumberofabstractpackageofWebapplication,whichcanintegrateWebframeworksuchasStruts,WebWorkandSpringtotheirownsolutions.

3.3.DataPersistenceLayerFrameworkHibernate

O/RMappingtechnologyisgeneratedtosolvethecontradictionnotmatchbetweenrelationaldatabaseandobject-orientedprogramming.HibernateisthemostpopularO/RMappingframework,automaticmappingbetweenrelationaldatabaseandJavaobjects,thatprogrammerscanuseaverysimplewaytoachievedatabaseoperation.TheworkingprincipleofHibernateshowninfigure3.

HibernatethroughJDBCpackage,shieldstheunderlyingdatabaseoperations

toprogrammer,sotheprogrammerfocusonOOapplicationdevelopment,andimprovedevelopmentefficiency.TheworkprogrammersaccessthedatabaseisprepareXmlmappingfileforpersistentobject.

Changesintheunderlyingdatabasesimplychangetheinitialconfigurationfile

(hibernate.cfg.xmlorhibernate.properties)cannotaffecttheapplication.

 

Hibernatehasitsownobject-orientedquerylanguageHQL,HQLispowerfulandsupportsforthecurrentmostpopulardatabasessuchasOracle,DB2,MySQL,MicrosoftSQLServer,etc.,isthemostwidelyusedO/Rmappingtool.Hibernateprovidestheunderlyingsupportfortherapiddevelopmentapplication.

3.4.NewJ2EEFrameworkforIntegratedSSH

AnalyzedthethreeframeworktechnologybasedonJ2EE,thenimprovethetraditionalJ2EEWebdevelopmentmodelthroughintegrat

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 工程科技 > 能源化工

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1