jsp动态网站技术外文文献翻译.docx
- 文档编号:9803419
- 上传时间:2023-05-21
- 格式:DOCX
- 页数:11
- 大小:23.53KB
jsp动态网站技术外文文献翻译.docx
《jsp动态网站技术外文文献翻译.docx》由会员分享,可在线阅读,更多相关《jsp动态网站技术外文文献翻译.docx(11页珍藏版)》请在冰点文库上搜索。
jsp动态网站技术外文文献翻译
JSPdynamicwebtechnology
JSP(JavaServerPages)isinitiatedbySunMicrosystems,Inc.,withmanycompaniestoparticipateintheestablishmentofadynamicwebpagetechnicalstandards.JSPtechnologysomewhatsimilartoASPtechnology,itisinthetraditionalHTMLpagesinthedocumentparagraphinsertedJAVAprocedures(Scriptlet)andJSPtag(tag),thusJSPdocuments.UsingJSPdevelopmentoftheWebapplicationiscross-platformthatcanrunonLinux,isalsoavailableforotheroperatingsystems.
JSPtechnologytousetheJavaprogramminglanguagepreparedbythecategoryofXMLtagsandscriptlets,toproducedynamicpagespackageprocessinglogic.Pagealsovisitbytagsandscriptletsexistintheservicessideoftheresourcesoflogic.JSPpagelogicandwebpagedesignanddisplayseparation,supportreusablecomponent-baseddesign,Web-basedapplicationdevelopmentisrapidandeasy.
WebserverinthefaceofvisitsJSPpagerequest,thefirstimplementationoftheproceduresof,andthentogetherwiththeresultsoftheimplementationofJSPdocumentsinHTMLcodewiththereturntothecustomer.InserttheJavaprogrammingoperationofthedatabasecanbere-orientedwebsites,inordertoachievetheestablishmentofdynamicpagesneededtofunction.
JSPandJavaServlet,isintheimplementationoftheserver,usuallyreturnedtotheclientisanHTMLtext,aslongastheclientbrowserwillbeabletovisit.
JSP1.0specificationofthefinalversionislaunchedinSeptember1999,Decemberhasintroduced1.1specifications.AtpresentrelativelynewisJSP1.2norms,JSP2.0normsofthedrafthasalsobeenintroduced.JSPpagesfromHTMLcodeandJavacodeembeddedinoneofthecomponents.TheserverwasinthepagesofclientrequestsaftertheJavacodeandthenwillgeneratetheHTMLpagestoreturntotheclientbrowser.JavaServletJSPisthetechnicalfoundationandlarge-scaleWebapplicationdevelopmentneedsofJavaServletandJSPsupporttocomplete.JSPwiththeJavatechnologyeasytouse,fullyobject-oriented,andaplatform-independentandsecure,mainlyforallthecharacteristicsoftheInternet.
JSPdynamicwebsitedevelopmentandtechnology.
EarlydynamicwebsitedevelopmentandtechnologyusingaCGI-BINinterface.DeveloperstowriteinterfaceswiththerelevantproceduresandaseparateWeb-basedapplications,thelatterthroughtheWebservertocalltheformer.Thisdevelopmenttechnologythereisaseriousexpansionoftheproblem-eachnewCGIproceduralrequirementsontheserveraddanewprocess.Ifmultipleuserswithaccesstotheprogram,theseprocesseswillrunoutoftheWebserveralltheresourcesavailable,untilitscollapse.InordertoovercomethedisadvantagesoftheproposedMicrosoftActiveServerPages(ASP)technology,whichusethe"plug-in"andAPIsimplifiesWebapplicationdevelopment.CGIandASPcomparedtoitsadvantagescanincludeHTMLtags,candirectlyaccessthedatabaseandtheuseofunlimitedexpansionoftheActiveXcontrol,sotheprocedureonthepreparationofamoreflexible.ButthetechnologyisbasicallylimitedtoMicrosoftoperatingsystemplatform,themainworkenvironmentisMicrosoft'sIISapplicationstructure,theASPtechnologycannoteasilyachievecross-platformWebserverprogramdevelopment.
HypertextPreprocessor(HypertextPre-processor),PHPdynamicwebsitedevelopmentandtechnologysimilartoASP,isalsoakindofembeddedinHTMLdocumentserver-sidescriptinglanguage.MostofitsgrammarandC,Java,Perl,andothersimilarlanguageandformeditsownuniquestyle,useofthelanguageWebprogrammerscanquicklydevelopdynamicpages.PHPinmostUnixplatforms,GUN/LinuxandMicrosoftWindowsplatformcanrun.PHP'smainadvantagesare:
easeofinstallation,thelearningprocesssimpledatabaseconnectionconvenience,compatibilitystrongexpansionofthestrongcanobject-orientedprogramming,andsoon.However,PHP,therearesomeweaknesses,mainlyPHPisaninterpretationoflanguage,nottosupportmulti-threadedstructure,thesupportplatformanddatabaseconnectionsarelimited,especiallyinsupportofthestandardswithregardtoinherentweaknesses,forsomee-commerceapplications,PHPisnotappropriate.
TherearealsotechnologiessuchasJavaServletstechnology,makeuseofthetechnologycanbeeasilypreparedusingtheJavalanguageinteractiveserver-sidecode.AJavaServletsisaJava-basedtechnologyrunningontheserver-sideprogram(andAppletdifferent,thelatterrunninginthebrowser).DeveloperstowritesuchaJavaServlets,toreceivefromtheWebbrowser'sHTTPrequest,togenerateadynamicresponse(mayneedtoquerythedatabasetocompletesucharequest),thensendHTMLorXMLdocumentsresponsetothebrowser.Thetechnologyforordinarypagesdesignerstoeasilygraspitisverydifficult.Thisapproach,theentirepageintheJavaServletsaretobecreated.IfthedevelopersormanagerswanttoadjustWebpagesthathavetoeditandre-buildtheJavaServlets.
SunMicrosystems(SunMicrosystemsInc.)InWebservers,applicationservers,thetradingsystemanddevelopmenttoolsproviderofbroadsupportandcooperation,integrationandbalancealreadyexistsintheJavaprogrammingenvironment(suchasJavaServletsandJavaBeans)Tosupportthetechnologyandtoolshaveanew,Web-basedapplicationdevelopmentmethods-JavaServerPagesTechnology(JSP).Thisdynamicwebsitedevelopmentandtechnologymainlyhavethefollowingcharacteristics:
ToanyWeborapplicationserverrunningon;Fromtheapplicationoflogicanddisplaypages;Tocarryouttherapiddevelopmentandtesting;SimplifiesthedevelopmentofWeb-basedinteractiveapplicationsfortheprocess.JSPtechnologymethodsInordertofacilitatetherapidanddynamicdevelopmentofthesite,JSPinthefollowingareasmadeimprovements,makingitarapidestablishmentofcross-platformdynamicsite'spreferredoption.
1.Willgenerateanddisplaythecontentsofseparation
UsingJSPtechnology,WebpagesanddeveloperscanuseHTMLorXMLlogodesignandformattingthefinalpages,andusetheJSPlogoorlegshadgenerateddynamiccontentonthepage(thecontentisbasedonchangesintherequest,forexample,requestaccountinformationAbottleofwineoraspecificprice,etc.).ContentgeneratedbythelogicofthelogoandpackagingJavaBeanscomponents,andtiedupinthescript,allofthescriptsintheserver-siderun.AsthecorelogicinthelogoandpackagingwasintheJavaBeans,Webpagedesignersandmanagementpersonnel,willbeabletoeditanduseJSPpagesandwillnotaffectthecontentgenerated.
Intheserver,JSPengineexplainedJSPlogoandscript,generatedbythecontentoftherequest(forexample,byvisitingJavaBeanscomponents,theuseofJDBCtoaccessthedatabaseorcontain),andwillresultinHTML(orXML)pagesintheformofsendingBacktothebrowser.Thishelpstoprotectthemselvesfromthecode,canguaranteethatanyHTML-basedWebbrowser'scompleteavailability.
2.Reusablecomponents
ThevastmajorityofJSPpagesrelyonreusable,cross-platformcomponents(JavaBeansorEnterpriseJavaBeanscomponents)toimplementtheproceduresrequiredbytheapplicationofthecomplexityoftreatment.Developerstoshareandexchangetheimplementationofthegeneraloperationofthecomponents,ormakethesecomponentsformoreusersandgroupsusedbythecustomer.Component-basedmethodstoacceleratetheoveralldevelopmentprocessandenableorganizationsofallkindsintheirexistingskillsandoptimizetheresultsofdevelopmenteffortsinthebalance.
3.Useoflogo
Webpagedevelopersarenotfamiliarwiththescriptinglanguageprogrammers.JSPtechnologypackagehasmanyfunctions,whichisineasy-to-use,XMLandJSPrelatedtotheidentificationofdynamiccontentgenerationneeds.JSPstandardlogotoaccessandexamplesofJavaBeanscomponents,componentattributesetorretrieve,downloadApplet,andtheimplementationofothermethodsmoredifficulttocodingandtime-consumingfunction.
4.Adaptationplatform
AlmostallplatformssupportJava,JSP+JavaBeansalmostallplatformsunimpededaccess.Fromaporttoanotherplatform,JSPandJavaBeansdonotevenhavetorecompile,becauseJavabytecodestandardsandareplatform-independent.
5.Databaseconnection
JavainthedatabaselinkingthetechnologyisJDBC,JavaprogramthroughJDBCdriveranddatabaselinkedtotheimplementationofenquiries,suchasdataextractionoperation.SunhasalsodevelopedaJDBC-ODBCbridge,useofthistechnologywithJavaprogramscanaccessthedatabaseODBCdriver,themajorityofdatabasesystemscomewithODBCdriver.
Inaddition,throughthedevelopmentofthelogo,JSPtechnologycanbefurtherexpanded.Third-partydevelopersandotherpersonnelforthecommonfunctionscancreatetheirownlogofor.ThismakesWebpagedeveloperscanusefamiliartoolsandthesamelogoastheimplementationofspecificfeaturesofthecomponenttotheirwork.
JSPtechnologyeasilyintegratedintoavarietyofapplicationsinarchitecture,tousetheexistingtoolsandskills,andbeextendedtosupportenterprise-classdistributedapplications.UseofJavatechnologyaspartofthefamily,andtheJava2(EnterpriseArchitecture)anintegralpartof,JSPtechnologycansupportthehighlycomplexWeb-basedapplications.
JSPpagesbecauseofthebuilt-inscriptinglanguageisbasedonJava,andalloftheJSPpageshavebeencompiledintoJavaServlets,soJSPpageswithallthebenefitsofJavatechnology,includingrobuststoragemanagementandsecurity.AspartoftheJavaplatform,JSPwiththeJavaprogramminglanguage,"apreparation,theentireoperation"characteristics.
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- jsp动态网站技术 外文文献翻译 jsp 动态 网站 技术 外文 文献 翻译