外文翻译JSP及其WEB技术.docx

上传人:b****3 文档编号:10274807 上传时间:2023-05-24 格式:DOCX 页数:17 大小:29.94KB
下载 相关 举报
外文翻译JSP及其WEB技术.docx_第1页
第1页 / 共17页
外文翻译JSP及其WEB技术.docx_第2页
第2页 / 共17页
外文翻译JSP及其WEB技术.docx_第3页
第3页 / 共17页
外文翻译JSP及其WEB技术.docx_第4页
第4页 / 共17页
外文翻译JSP及其WEB技术.docx_第5页
第5页 / 共17页
外文翻译JSP及其WEB技术.docx_第6页
第6页 / 共17页
外文翻译JSP及其WEB技术.docx_第7页
第7页 / 共17页
外文翻译JSP及其WEB技术.docx_第8页
第8页 / 共17页
外文翻译JSP及其WEB技术.docx_第9页
第9页 / 共17页
外文翻译JSP及其WEB技术.docx_第10页
第10页 / 共17页
外文翻译JSP及其WEB技术.docx_第11页
第11页 / 共17页
外文翻译JSP及其WEB技术.docx_第12页
第12页 / 共17页
外文翻译JSP及其WEB技术.docx_第13页
第13页 / 共17页
外文翻译JSP及其WEB技术.docx_第14页
第14页 / 共17页
外文翻译JSP及其WEB技术.docx_第15页
第15页 / 共17页
外文翻译JSP及其WEB技术.docx_第16页
第16页 / 共17页
外文翻译JSP及其WEB技术.docx_第17页
第17页 / 共17页
亲,该文档总共17页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

外文翻译JSP及其WEB技术.docx

《外文翻译JSP及其WEB技术.docx》由会员分享,可在线阅读,更多相关《外文翻译JSP及其WEB技术.docx(17页珍藏版)》请在冰点文库上搜索。

外文翻译JSP及其WEB技术.docx

外文翻译JSP及其WEB技术

外文翻译原文及译文

JSPandWEBtechnolog

1JSPIntroduction

JSP(JavaServerPages)isaJava-basedscriptingtechnology.IsadvocatedbySunMicrosystemsInc.,togetherwithanumberofcompaniesinvolvedintheestablishmentofadynamicwebpagetechnologystandards.JSPtechnologyissomewhatsimilartoASPtechnology,ItisatraditionalHTMLpagefile(*.htm,*.html)toinsertJavaprogramsegment(Scriptlet)andJSPtag(tag),ToformtheJSPfile(*jsp).WebdevelopmentwithJSPisacross-platformapplicationsthatcanrununderLinux,butalsoinotheroperatingsystems.IntheJSPofthemanyadvantages,oneofwhichisthatitwillbeHTMLencodedWebpagefromthebusinesslogicseparatedeffectively.JSPaccesswithreusablecomponents,suchasServlet,JavaBeanandJava-basedWebapplications.JSPalsosupportsdirectlyintheWebpageembeddedJavacode.JSPcanbeusedtwowaystoaccessdocuments:

JSPdocumentssentbythebrowserrequest,therequestsenttotheServlet.JSPtechnologyusesJavaprogramminglanguage,XML-typetagsandscriptlets,tohaveapackagedealwiththelogicofdynamicpages.Pagetagsandscriptletscanalsoexistintheserveraccesstotheresourcesoftheapplicationlogic.JSPlogicandWebpagedesignanddisplayisolatedandsupportreusablecomponent-baseddesign,Web-basedapplicationsmorequicklyandeasilydeveloped.

TheWebserverwhenmeetsvisitstheJSPhomepagetherequest,firstcarriesoutsegment,willthencarryouttheresultcodetoreturntogetherwithJSPinthedocumentHTMLforthecustomer.TheinsertionJavasegmentmayoperatethedatabase,againthedirectionalhomepageandsoon,realizesthefunctionwhichtheestablishmentdynamichomepageneeds.JSPandJavaServletarethesame,isintheserverendexecution,usuallyreturnstothisclientsideisaHTMLtext,thereforeclientside,solongashasthebrowsertobeabletoglanceover.

TheJSPpageiscomposedoftheHTMLcodeandtheinsertingJavacode.TheserverinthepagebytheclientsidewasrequestedthatlaterwillcarryonprocessingtotheseJavacode,willthenproducetheHTMLpagewillreturngivestheclientsidethebrowser.JavaServletistheJSPtechnologybase,moreoverthelarge-scaleWebapplicationprocedure'sdevelopmentneedsJavaServletandtheJSPcoordinationcancomplete.JSPhadtheJavatechnologysimplyeasytouse,completeobject-oriented,hadtheplatformindependency,andsafereliable,mainlyfacedInternet'sallcharacteristics.

2JSPcomputingtechnique

Tocarryonthedynamicwebsiteconvenientlyfastthedevelopment,JSPhasmadetheimprovementinthefollowingseveralaspects,causesittobecomebuildsthecrossplatformfastthedynamicwebsitefirstchoiceplan.

2.1carriesonthecontentproductionandthedemonstrationseparates

WiththeJSPtechnology,theWebpagedevelopmentpersonnelmayuseHTMLortheXMLmarkingdesignandtheformattedfinalpage,andusestheJSPmarkingorthetootsyproducesonpage'sdynamiccontentoriginally.Productioncontent'slogicissealedinmarksandintheJavaBeansmodule,andtiesupinthescript,allscriptsinserverendmovement.BecausecorelogicissealedinmarksandinJavaBeans,thereforetheWebadministrativepersonnelsandthepagedesigner,caneditandusetheJSPpage,butdoesnotaffectthecontenttheproduction.Intheserverend,theJSPengineexplainedthattheJSPmarkingandthescript,producethecontentwhichrequested,and(orXML)page'sformtransmitstheresultbyHTMLthebrowser.Thisbotharehelpfulintheauthorprotectsowncode,andcanguaranteeanybasedontheHTMLWebbrowser'scompleteusability.

2.2mayentrustwithheavyresponsibilitythemodule

TheoverwhelmingmajorityJSPpagereliesonmayentrustwithheavyresponsibility,thecrossplatformmodule(JavaBeansorEnterprisetheJavaBeansmodule)carriesoutcomplexprocessingwhichtheapplicationprocedurerequests.Thedevelopmentpersonnelcanshareandexchangetheexecutionordinaryoperationthemodule,orcausesthesemodulesusesformoreusersandthecustomerassociation.Hasacceleratedtheoveralldevelopmentprocessbasedonmodule'smethod,andcauseseachkindoforganizationobtainsbalancedintheirexistingskillandintheoptimizedresultdevelopmentendeavor.

2.3usesmarking

TheWebpagedevelopmentpersonnelwillnotbethefamiliarscriptlanguageprogrammers.TheJSPtechnologyhassealedmanyfunctions,thesefunctionsareeasytouse,markingtocarryonthedynamiccontentproductionwithJSPintherelatedXMLtoneed.ThestandardJSPmarkingcanvisitandtheinstantiationJavaBeansmodule,theestablishmentortheretrievalmoduleattribute,downloadsApplet,aswellastheexecutiondifficultywithcodesandthetime-consumingfunctionwithothermethods.

2.4adaptstheplatform

NearlyallplatformssupportJava,JSP+JavaBeanstobepossibletopassunimpedednearlyunderallplatforms.Transplantsfromaplatformtootherplatform,JSPandJavaBeansdoesnotevenneedtotranslate,becausetheJavabytecodeisstandardhasnothingtodowiththeplatform.

2.5databaseconnection

InJavaconnectsthedatabasethetechnologyistheJDBC,JavaprocedureisconnectedthroughtheJDBCdriverandthedatabase,operationsandsoonexecutioninquiry,extractiondata.SunCorporationhasalsodevelopedJDBC-ODBCbridge,usesthistechnicalJavaproceduretobepossibletovisithastheODBCdriverdatabase,atpresentthemajoritydatabasesystemshavetheODBCdriver,thereforetheJavaprocedurecanvisitsuchasOracle,Sybase,MSSQLServeranddatabasesandsoonMSAccess.Inaddition,throughthedevelopmentmarkingstorehouse,theJSPtechnologymayfurtherexpand.Thethirdpartydevelopmentpersonnelandotherpersonnelmayfoundtheirmarkingstorehouseforthecommonlyusedfunction.ThisenablestheWebpagedevelopmentpersonneltobeabletousethefamiliartoolandtobesimilartomarkingsamecarriesoutthespecificfunctioncomponenttocarryonthework.TheJSPtechnologyveryeasyconformitytomanykindsofapplicationarchitecture,tousetheextanttoolandtheskill,andcanexpandtothesupportenterprisedistributionalapplication.

3Eclipsefunctionsynopsis

MoreandmoreJavadevelopmentpersonnelalreadystartedtheproductivitywhichandthequalityincomeappreciatesEclipseJDTtoprovide.ItwastheJavaeditorprovidesgrammarGaoLiangtodemonstratethattheformatting,thefold,thecontentwereauxiliary,codetemplateandsoonmanyfunctions.Itgrowsunceasinglyavailablerestructuringandthecodegenerationfunctionsetpermitsyouinahigherranktheoperationcode,andautomatedusualcodeintensitydutyandeasywrongduty.Moreover,indevelopsthecodeandusesJDTtocompileandtocarryouttheJUnittestbuilt-insupportcarriesontheunittestingafterthecode,mayuseEclipsethefirst-classJavadebuggerdebuggingwhenthemovementmeetsanyquestion.BesidesJDT,EclipseSDK-themostpopularEclipse.orgdownloading-alsocontainsPlug-inDevelopmentEnvironment(PDE).PDEusedthespecificfunctiontoexpandJDTtoconstructtheEclipseplug-inunit-basedontheEclipseapplicationprocedurebasicconstructionagglomeration.Infact,usesthetoolwhichprovidesbyEclipseitselftobeabletosurmounttheJavadevelopment,mayexpandtheexistingEclipseapplicationprocedure,orevenfoundsthebrand-newapplicationprocedure.

Eclipsebyascriptlevelconstitution,containsinmanyfunctionalmodulesortheEclipseterminologyso-called“theplug-inunit”.Theplug-inunitisprovidesallfunctionsintheEclipseapplicationprocedurethemodule.TheycooperatethroughitsAPItopaythefinaloutcometogether.InEclipse,eventhemostfoundation'sfunction,forinstancethesearchandthestartinstallment'splug-inunit,sealsintheplug-inunit.InordertoexpandtheexistingEclipsefunctionorcarryontheconstructioninabove,theplug-inunittheconcreteexpansioncontributionfortheexpansionspotwhichwillexposebyotherplug-inunits.Usually,theplug-inunitconcentratesthespecificregionresponsibility,andgivesthroughoramanyexpansionwayotherresponsibilitydesignationotherplug-inunits.Forexample,aplug-inunitallowsyouparalleltocomparetwodocumentsvisiblythecontents,butitwillnotcarehowtoreadthesedocumentsevenhowtoexplainthesedocumentstructure;Thisisotherplug-inunit'swork.Whencomparedwithtwodocuments,thisplug-inunitfirstinspectswhethertohaveanotherplug-inunittobepossibletoexplainthesedocumentstructure.Iffoundone,ittotheplug-inunitinquiryrelatedfileorganizationinformationwhichfound,andusedthisinformationinthecomparisonprocess.

MayseethatthemodularconstructionwasEclipsehasprovidedthehugeflexibility,andprovidedonetobepossibletosupportthemassiveapplicationprocedureplatformwhichtheoriginaldesignhasnotexpected.

4Structsfunctionsynopsis

StrutsisaMVCframe(Framework),usesindevelopingJavafasttheWebapplication.StrutsrealizesthekeypointinC(Controller),Actionwhichandwehavecustom-madeincludingActionServlet/RequestProcessor,wasalsoV(View)providesaseriesofrowstohavecustom-madethelabel(CustomTag).Springisalightvessel(light-weightcontainer),itscoreistheBeanfactory(BeanFactory),withconstructsM(Model)whichweneed.Abovethisfoundation,SpringhasprovidedAOP(Aspect-OrientedProgramming,facestratificationplaneprogramming)realization,providesunderthenon-managementenvironmentwithittodeclareservicesandsoonwaybusiness,security;IsmoreconvenienttoBeanfactoryexpansionApplicationContextwetorealizetheJ2EEapplication;DAO/ORMrealizesfa

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

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2