资源描述:
《JSP技术-毕业论文外文翻译》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、咸宁学院本科毕业论文:外文翻译外文资料所译外文资料:①作者:DanMalks②书名:ProfessionalJSP③出版时间:2000.7.26④所译章节:Chapter1212.1IntroductoryGoodWebapplicationdesigntriestoseparatebusinessobjects,presentation,andmanipulationoftheobjectsintodistinctlayers.OnebenefitofusingJavaServerPagestech
2、nologyisthatitallowsustoseparatetheroleofaWebdesignermoreclearlyfromthatofasoftwaredeveloper.Whileonasmall-scaleproject,oneindividualmayoccupybothroles,onalargerproject,theyarelikelytobeseparateanditisbeneficialtoseparatetheirworkflowsasmuchaspossible.D
3、esigningthearchitectureforyourWebapplicationiscrucialtothisseparation.12.2JSParchitectureWewillexamineavarietyofwaystoarchitectasystemwithJavaServerPages,servlets,andJavaBeans.Wewillseeaseriesofdifferentarchitectures,eachadevelopmentoftheonebefore.Thedi
4、agrambelowshowsthisprocessinoutline;theindividualpartsofthediagramwillbeexplainedinturnlaterinthisarticle.JSParchitecture:11咸宁学院本科毕业论文:外文翻译WhenSunintroducedJavaServerPages,somewerequicktoclaimthatservletshadbeenreplacedasthepreferredrequesthandlingmecha
5、nisminWeb-enabledenterprisearchitectures.AlthoughJSPisakeycomponentoftheJava2PlatformEnterpriseEdition(J2EE)specification,servingasthepreferredrequesthandlerandresponsemechanism,wemustinvestigatefurthertounderstanditsrelationshipwithservlets.Othersectio
6、nsofProfessionalJSPexplaintheimplementationdetailsofJSPsourcetranslationandcompilationintoaservlets.UnderstandingthatJSPisbuiltontopoftheservletAPI,andusesservletsemantics,raisessomeinterestingquestions.Shouldwenolongerdevelopstand-aloneservletsinourWeb
7、-enabledsystems?IstheresomewaytocombineservletsandJSPs?Ifso,wheredoweplaceourJavacode?Arethereanyothercomponentsinvolvedintherequestprocessing,suchasJavaBeans?Ifso,wheredotheyfitintothearchitectureandwhattypeofroledotheyfulfill?Itisimportanttounderstand
8、that,althoughJSPtechnologywillbeapowerfulsuccessortobasicservlets,theyhaveanevolutionaryrelationshipandcanbeusedinacooperativeandcomplementarymanner.Giventhispremise,wewillinvestigatehowthesetwotechnologies,eachaJavaStandardExten