中英文翻译土木R101李成武Word文档格式.docx
- 文档编号:16658563
- 上传时间:2022-11-25
- 格式:DOCX
- 页数:11
- 大小:376.42KB
中英文翻译土木R101李成武Word文档格式.docx
《中英文翻译土木R101李成武Word文档格式.docx》由会员分享,可在线阅读,更多相关《中英文翻译土木R101李成武Word文档格式.docx(11页珍藏版)》请在冰豆网上搜索。
©
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
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 中英文 翻译 土木 R101 成武