《web信息系统毕业论文中英文资料外文翻译文献.doc》由会员分享,可在线阅读,更多相关《web信息系统毕业论文中英文资料外文翻译文献.doc(10页珍藏版)》请在金锄头文库上搜索。
1、 中英文资料翻译Withthe popularityofthe InterNETapplications,a variety of WebInformation SystemHas becomeapressingissue.EstablishtheessenceofWebinformation systemsDevelopment of aWebrepository(databaseas the core ofa variety ofWebletterInformation storage)as the coreWebapplications.Currently, the Webreposit
2、orydevelopmenttechnologyOperationofa wide range ofdifferent characteristics.Various periodsat all levels,a variety of purposesTechnologyco-exist,dizzyingmirrorchaos, it is difficult tochoose.MorepopularJavaof ServetWebrepositorydevelopmentprograma more practicalOfchoice.Servletisrunningtheappleton t
3、he Web server,can be completedXuMulti-clientAppletcan not completethe work, which runson the serverandclientsNoend, do notdownloaddo notbytheclientsecurity restrictions,therunningspeedGreatly increasedAnd AppletrunninginabrowserandextendthebrowsersabilitysimilarLike,Servthe letruninthe Webservertoen
4、ableJavaServthe letengineAnd expandthecapacityoftheserver.Therefore, we can sayServthe letisruninAppleton a Web server,Servthe letJav a Ser vlet APIAndJavaprogramofclassesand packages.1 Servletaccessmodel2 Servthe let, there are threeaccess models:(1)an accessmodel1browser toWeb servertoissuearetrie
5、valrequest.2the Webserverafterreceipt of the request,therequestforwarded to theServle tengine.3 Serletengineto perform the requestedtheSer vletanddirectlythrough JDBC4ServletthroughJDBCtoretrievesearch resultstogeneratethehtmlpage andPageback totheWeb server. 5the Webserverthe pageissentback to the
6、browser.(2)The secondaccessmodel1browser toWeb servertoissuearetrievalrequest.2the Webserver receives the requestafter therequestforwarded totheof Servthe letengine.3 Serv letengineto perform therequestthetheSer vletandretrievesentJa,vabeanaccesstothedata.4dataaccesstheJa vabeansearchable databaseth
7、rough JDBCinformationAndfrom the search resultsstoredinitself.5Servletremovesearch resultsfromthedataaccessJavabeangenerateHtmlpage andHtml ofpageback to thewebserver.6the Webserverthe pageissentback to the browser.(3)The thirdaccess model1 Abrowserissuearetrievalrequestto the Web server.2 Webserver
8、 receives the requestafter therequestforwarded totheof Servthe letengine.Of Servletengineto perform the requestedServletdirectlythrough JDBCinspection3 Thecabledatabase andsearch resultsare stored in theresult is storedtheJav abeaninto.Javabean,4.Servthe letfromtheresults are storedtoremovethesearch
9、 resultsandJSP filestoformattheoutputpage.2Servletfunctionality andlife cycle2.1 Servletfunctions(1)Createand returndynamic Web pagesbasedoncustomer requests.(2)createcan be embedded intoexistingHTML pagesas part ofHTMLPage (HTfragment)ofthe ML.(3)andotherserver resources(including databasesandappli
10、cationsbasedontheJavaProgram)to communicate.(4)tohandlemultipleclientconnections, receivingtheinputofmorethanoneclient, andThe resultsbroadcast tomultiple clients.Forexample, Servletis a multi-participantGame server.(5)of MIMEtypefilterinformationonthespecial handling, such asimageConversion andserv
11、er-sideinclude(SSI).(6)customprocessingavailabletoall servers inthe standardroutine.2.2Servlet lifecycleServletlife cyclebeginswithit intotheWeb servers memoryAndendinthetermination orre-loadedServthe let.(1) load.Loadtheservletat the followingtimes:1. If you have configuredautomaticloadoption, andt
12、henstarttheWeb serverautomatically loaded2. AfterthestartoftheWeb server,theclientServthe letissuedforthefirsttime, pleaseDemand.3. ReloadServthe let.LoadedServlet, Web serversto create aservlet instance,andServletsinit () methodiscalled.Servletinitializationparametersintheinitialization phase,Thenu
13、mberis passedto the Servletconfiguration object.(2) terminateWhentheWeb serverno longerneedstheservlet,orreloadServletA new instance oftheservercallsServthe letsdestroy () method,remove it from theMemorydeleted.3 How tocallServletMethodof ServletiscalledTotalfive kinds:callin the URLintheform Tagcal
14、l,call,inHTthe MLpageintheJSP filesCall,callin an ASP file.The followingitemizedto be introduced.(1) call theservletin the URL.Simplyinput formatin the browserashttp: yo ur webser verthe sametheservletnamename/ servletpath /servletthe URLtoThesitecanbe.Ofwhich:your webser ver nameistorefer totheServletwhere theWeb servername,the servletpath is thepathrefers to theServlet,the servletThenamerefers totheServletreal nameoran