![11計81班何彬彬英文翻譯_第1頁](http://file4.renrendoc.com/view/417db14da42eb5af358a87265c25e34f/417db14da42eb5af358a87265c25e34f1.gif)
![11計81班何彬彬英文翻譯_第2頁](http://file4.renrendoc.com/view/417db14da42eb5af358a87265c25e34f/417db14da42eb5af358a87265c25e34f2.gif)
![11計81班何彬彬英文翻譯_第3頁](http://file4.renrendoc.com/view/417db14da42eb5af358a87265c25e34f/417db14da42eb5af358a87265c25e34f3.gif)
![11計81班何彬彬英文翻譯_第4頁](http://file4.renrendoc.com/view/417db14da42eb5af358a87265c25e34f/417db14da42eb5af358a87265c25e34f4.gif)
下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、英文翻譯資料A.英文原文THE TECHNIQUE DEVELOPMENT HISTORY OF JSPBy:Kathy Sierra and Bert BatesSource: Servlet&JSPThe Java Servages( JSP) is a kind of according to web of the script plait distancetechnique, similar carries the script language of Javahe server of the Netsccompany of. JSPserver- side JavaScript( S
2、SJS) and the Active Server Pages(ASP) of thecompares the SSJS and ASP to have better can expand sex, and it is no more exclusivenany factory or some one particular server of Web. Though the norm of JSP is to be draw up bythe Sun company of, any factory can carry out the JSP on own system.The After S
3、un release the JSP(the Java Server Pages) formally, the this kind of new Web application development technique very quickly caused the peoples concern. JSP provided a spe l development environment for the Web application t establishes the highdynamic s e. According to the Sun parlance, the JSP can a
4、dapt to include the ApacheWebServer, IIS4.0 on the markeinside of 85% servroduct.This chapter willroduce the related knowledge of JSP and Databases, and JavaBeanrelated contents, is all certainly rougherroduction among them basic contents, say perhapsto is a Guide only, if the reader needs the more
5、detailed information, pleasing the book of consult the homologous JSP.1.1 1.1 GENERALIZEThe JSP(Java Servages) is from the company of Sun Microsystems initiate, the manycompanies the participate to the build up the together of the a kind the of dynamic the seweb the page technique standard, the ive
6、the ithe construction the of the dynamic sethe wASP ofge the strong but the do not the espelly of the function. JSP and the technique oftheis very alike. Both all provide the abilityt mixes with a certainprocedure code and is explain by the language engine to carry out the procedure codehecode of HT
7、ML. Underneath we are simple of carry on theroduction to it.JSP pages are translatedo servlets. So, fundamentally, any task JSP pages can performcould also beplished by servlets. However, this underlying equivalence does not meant servlets and JSP pages are equally appropriate in all scenarios. The
8、ie is not theerof the technology, it is the convenience, productivity, and maainability of one or the other.After all, anything you can do on a particular computer platform in the Java programminglanguage you could alson assembly language. But it still matters which you choose.JSP provides the follo
9、wing benefits over servlets alone:It is easier to write and maahe HTML. Your sic code is ordinary HTML: noextra backslashes, no double quotes, and no lurking Java syntax.You can use standard Web-site development tools. Even HTML tools nothing about JSP can be used because they simply ignore the JSP
10、tags.t knowYou can divide up your development team. The Java programmers can work on thedynamic code. The Web developers can concentrate on the presenion layer. On largeprojects, this diviis very important. Depending on the size of your team and thecomplexity of your project, you can enforce a weake
11、r or stronger separation betHTML and the dynamic content.n the sicNow, this discusis not to sayt you should stop using servlets and use only JSPinstead. By no means. Almost all projects will use both. For some requests in your project, you will use servlets. For others, you will use JSP. For still o
12、thers, you will combine them with the MVC architecture . You want the appropriate tool for the hebinbingongzuo, and servlets, by themselves, do not complete your toolkit.1.2 1.2 SOURCE OF JSPThe technique of JSP of the company of Sun, making the page of Web develop thenel can use the HTML perhaps ma
13、rking of XML to design to turnpage withformat. Use the perhaps small script future life of marking of JSPon the page contents.( the contents changes according to the claim of)es the dynamic seThe Java Servlet is a technical foundation of JSP, and the large Web apps thedevelopment of the procedure to
14、 need the Java Servlet to match with with the JSP and then can complete, this name of Servlet comes from the Applet, the local translation method of now is a lot of, this book in order not to misconstruction, decide the direct adoption Servlet but dont do any translation, if reader would like to, ca
15、n call it as small service procedure. The Servlet is similar to traditional CGI, ISAPI, NSAPI etc. Web procedure development the function of the tool in fact, at use the Java Servlet hereafter, the customer need not use againthe lowly method of CGI of efficiency, also need not use only the ability c
16、ome to born page ofWeb of dynamic sehe method of APIt a certain fixed Web server terrace circulate.Many servers of Web all support the Servlet, even not support the Servlet server of Webdirectly and can also pass the additional appd server and the mold pieto support theServlet. Receive benefithe cha
17、racteristic of the Java cross-platform, the Servlet is also aterrace irrelevant, actually, as long as match the norm of Java Servlet, the Servlet is completeto have nothing to do with terrace and is to have nothing to do with server of Web. Becausethe Java Servlet isernal to provide the service by t
18、he line distance, need not start a progressto the each claimses, and make use of the multi-threading mechanism can at the same time for several claim service, therefore the efficiency of Java Servlet is very high.But the Java Servlet also is not to has no weakness, similar to traditional CGI, ISAPI,
19、 theNSAPI method, the Java Servlet is to make use of to output the HTML language sentence tocarry out the dynamic se wge of, if develop the whole website with the Java Servlet,theegration pros of the dynamic se part and the sic se page is an evil-forebodingdream simply. For solving this kind of weak
20、ness of the Java Servlet, the SUN released theJSP.A number of years ago, Marty was invited to attend a small 20-industryroundtable discuson software technology. Sitting in the seat next to Marty was James Gosling, inventor of the Java programming language. Sitting several seats away was ahigh-level
21、manager from a very large software company in Redmond, Washington. Duringthe discus, the moderator brought up the subject of Jini, which att time was a newJava technology. The moderator asked the manager what he thought of it, and the managerrespondedt it was too early tol, butt it seemed to be an e
22、xcellent idea. He went on tosayt they would keep an eye on it, and if it seemed to be catching on, they would followhis companys usual embrace and extend strategy. At this po, Gosling lightheartedlyerjected You mean disgrace and distend.Now, the grievancet Gosling was airing wast he feltt this compa
23、ny wouldtake technology from other companies and suborn it for their own pures. But guess what?The shoe is on the other foot here. The Java community did not invent the idea of designingpages as a mixture of sic HTML and dynamic code marked with spel tags. For exle,Cold Fudid it years earr. Even ASP
24、 (a product from the very software company of theaforementioned manager) popularized this approach before JSP came along and decided tojump on the bandwagon. In fact, JSP not only adopted tthe same spel tags as ASP did.eral idea, it even used many ofThe JSP is an establishment at the mtechnique, it
25、makes the plait write the HTML toof Java servlets on of the expreslayere more simpe like the SSJS, it alsoallows you carry the sic se HTML contents and servers the script mix to put together theborn dynamic se exporion. JSP the script language however, be like the ASP and can use other language norm
26、 of JSP also allows to use other languages.1.3 1.3JSP CHARACTERISTICSt the Java is the tacit approval,ch as JavaScript and VBScript), theIs a service according to the script language in some one language of the suressystem this kind of discuss, the JSP should be see make is a kind of script language
27、.However, be a kind of script language, the JSP seemed to be too strong again, almost canuse all Javashe JSP.Be a kind of according to text originally of, take manifesion as the centraldevelopment combine wi simple wayis, thetechnique, the JSP provided all advantages of the Java Servlet, and, whenJa
28、vaBeans together, providing a kind of make contents and manifesiont logic separate. Separate the contents and advantage of logical manifestionsnel who renews the page external appearance need not know the code of Java,and renew the JavaBeansnel also need not be design the wge of expert in hand,can u
29、se to take the page of JavaBeans JSP to define the template of Web, to build up a fromhave the alike external appearance of the websitet page constitute. JavaBeans completesthe data to provide, having no code of Java in the template thus, this meanst theseso maketemplates can be written thenel by a
30、HTML plait to support. Certainly, cuse of the Java Servlet to control the logic of the website, adjust through the Java Servlet touse the way of theof JSP to separate website of logic and contents.Generally speaking, in actual engine of JSP, the page of JSP is the edit and translate typewhile carry
31、out, not explatool of the type, such as ASP,he type of. Explahe dynamic se wgedevelopment3 etc., because speed etc. reason, have already cant satisfycurrent the large electronic commerce needs appdly, traditional development techniques areall at to edit and translate the executive way change, such a
32、s the ASP ASP+;4.3 he JSP norm book, did not request the procedurehe JSP code part(be called theScriptlet) and must write with the Java definiy. Actually, have some engines of JSP areadoptive other script languagech as the EMAC- Script, etc., but actually this a few scriptlanguages also are to set u
33、p on the Java, edit and translate for the Servlet to carry out of. Writeaccording to the norm of JSP, have no Scriptlet of relation with Java also is can of, however,mainlyhe ability and JavaBeans, the Entrise JavaBeanses because of the JSP strongfunction to work together, so even is the Scriptlet p
34、art not to use the Java, edit and translate ofperformance code also should is related with Java.1.4 1.4JSP MECHANISMTo comprehend the JSP how unite the technical advantaget above various speak of,come to carry out various result easily, the customer must understand the differentiation ofthe module d
35、evelops for the wge of the center and the page develops for the wgeof the center.The SSJS and ASP are all in several year ago to release, the network oft time is stillvery young, no one knows to still have in addition to making all business, datas and theexpreslogic enter the original wge entirely h
36、eap what better solve the method. Thiskind of mt take page as the center studies and gets the very fast development easily.However, along with change of time, the people knowt this kind of method is unwell in setup large, the Webt can upgrade apps the procedure. The expreslogic writehescript environ
37、ment was lockhe page, only passing to shear to slice and glue to stick thencan drive heavy use. Express the logic to usually mix together with business and the datalogics, when this makes be the procedure member to try to change an external appearancet theheapps the procedure but do not want to brea
38、k with its ld business logic, applyprocedure of maenance be like to walk the similar difficulty on the eggs. In factbusiness entrise, heavy use the application of the module already through very mature, noone would like to rewrite those logics for their appd procedure.HTML and sketch thedesigner han
39、ded over to the implement work of their design the Web plait theho write,make they have to double work- Usually is the handicraft plait to write, because have no fit tool and can carry the script and the HTML contents knot to the server to put together. Chienbut speech, apply the complexity of the p
40、rocedure along with the Web to promotecontinuously, the development method up obviously.At the same time, the people always Web application procedure, the moduleJavaBeans and ActiveX were publishedt take page as the center limits sex toe to getook for thebetter methodof buildup thespreads in custome
41、rs machine/ server the realm.the company to expand to apply the proceduredeveloper for Java and Windows to use to come to develop the complicated procedurequickly by the fast application procedure development(RAD) tool. These techniques makethe experthe some realm be able to write the module for the
42、 pendicular applicationplaithe skill area, but the developer can go fetch the usage directly but need not controlthe expertise of this realm.Be a kind of take module as the central development terrace, the JSP appeared. It withthe JavaBeans and Entrise JavaBeans( EJB) module includes the mof the bus
43、iness andthe data logic for foundation, provide a great deal of label and a script terrato use to cometo showhe HTML page from the contents of JavaBeans creation or send a present in return.Because of the propertyt regards the module as the center of the JSP, it can drive Java andnot the developer o
44、f Java uses equally. Not the developer of Java can pass the JSP label(Tags)to use the JavaBeanst the deluxe developer of Java establish. The developer of Java notonly can establish and use the JavaBeans, but also can use the language of Java to come tocontrol more accurayJavaBeans.he JSP page accord
45、ing to the expreslogic of thefloorSee now how JSP is handle claim of HTTP. In basic claim m, a claim directly wassend to JSP page in. The code of JSP controls to carry on hour of the logic prosing andmodule of JavaBeanses hand over with each other, and the manifesion result in dynamicse bornly, mixi
46、ng with the HTML page of the sic se HTML code. The Beans can beJavaBeans or module of EJBs. Moreover, the more complicated claim mfrom is request other JSP pages of the page call sign or Java Servlets.can see makeThe engine of JSP wants to chase the code of Javat the label of JSP, code of Java inthe
47、 JSP page even all convertso the big piece together with the sic se HTML contentsactually. These codes piece wasanized the Java Servlett customer can not see to go toby the engine of JSP, then the Servlet edits and translate them automatically byte code of Java.Thus, the visitantt is the website req
48、uests a JSP page, under the condition of it is notknowing,ready born, the Servlet actual full generalt prepared to edit and translatecompletes all works, very concealment but again and efficiently. The Servlet is to edit andtranslate of, so the code of JSPhe wge does not need when the every time req
49、uestst page is explain. The engine of JSP need to be edit and translate after Servlet the code endis modify only once, then this Servlett editted and translate can be carry out. The in viewof the fact JSP engine auto is born to edit and translate the Servlet also, need not proceduremember begins to
50、edit and translate the code, so the JSP can bring vivid sext function andfast developments needt you are efficiently.Compared with the traditional CGI, the JSP has the equal advantage., on the speed,the traditional procedure of CGI needs to use the standard imporion of the system to outputthe equipm
51、ents to carry out the dynamic se wge born, but the JSP is direct is mutuallythe connection with server. And say for the CGI, eacherview needs to add to add aprogress to handle, the progress build up and destroy by burning constantly and will be a notsmall burden for calculator of be the server of We
52、b. The next in order, the JSP is spelizedto develop but design for the Web of, its pure is for building up according to the Webappd procedure, included the norm and the tool of a the whole set. Use the technique of JSPcan combine a lot of JSP pages toe a Web application procedure very expediently.B.
53、原文的翻譯JSP 的技術(shù)發(fā)展歷史作者: Kathy Sierra and Bert Bates來源: Servlet&JSPJava Servages(JSP)是一種基于 web 的編程技術(shù),類似于網(wǎng)景公司的服務(wù)器端 Java語言 server-side JavaScript(SSJS)和微軟的 Active Servages(ASP)。與SSJS 和 ASP 相比,JSP 具有更好的可擴展性,并且它不專屬于任何一家廠商或某一特定的 Web 服務(wù)器。盡管 JSP 規(guī)范是由 Sun 公司制定的,但任何廠商都可以在自己的系統(tǒng)上實現(xiàn) JSP。在 Sun 正式發(fā)布 JSP(Java Servages)
54、之后,這種新的 Web 應(yīng)用開發(fā)技術(shù)很快引起了人們的關(guān)注。JSP 為創(chuàng)建高度動態(tài)的 Web 應(yīng)用提供了一個獨特的開發(fā)環(huán)境。按照 Sun 的說法,JSP 能夠適應(yīng)市場上包括 Apache WebServer、IIS4.0 在內(nèi)的 85%的服務(wù)器產(chǎn)品。本文將介紹 JSP 相關(guān)的知識,以及 JavaBean 的相關(guān)內(nèi)容,當(dāng)然都是比較粗略的介紹其 中的基本內(nèi)容,僅僅起到拋磚引玉的作用,如果讀者需要更詳細(xì)的信息,請參考相應(yīng)的JSP 的書籍。1.5 1.1 概述JSP(Java Server Pages)是由 Sun Microsystems 公司倡導(dǎo)、許多公司參與一起建立的一種頁技術(shù)標(biāo)準(zhǔn),其在頁的建設(shè)中
55、有其強大而特別的功能。JSP 與的 ASP 技術(shù)非常相似。兩者都提供在 HTML 代碼中混合某種程序代碼、由語言引擎解釋執(zhí)行程序代碼的能力。下面簡單的對它進(jìn)行介紹。JSP 頁面最終會轉(zhuǎn)換成 servlet。因而,從根本上,JSP 頁面能夠執(zhí)行的任何任務(wù)都可以用 servlet 來完成。然而,這種底層的等同性并不意味著 servlet 和 JSP 頁面對于所有的情況都等同適用。問題不在于技術(shù)的能力,而是二者在便利性、生產(chǎn)率和可性上的不同。畢竟,在特定上能夠用 Java 編程語言完成的事情,同樣可以用匯編語言來完成,但是選擇哪種語言依舊十分重要。和單獨使用 servlet 相比,JSP 提供下述好
56、處:JSP 中 HTML 的編寫與更為簡單。JSP 中可以使用常規(guī)的 HTML:沒有額外的反斜杠,沒有額外的雙引號,也沒有暗含的 Java 語法。能夠使用標(biāo)準(zhǔn)的開發(fā)工具。即使是那些對 JSP 一無所知的 HTML 工具,也可以使用,因為它們會忽略 JSP(JSP tags)??梢詫﹂_發(fā)團(tuán)隊進(jìn)行劃分。Java 程序員可以致力于動態(tài)代碼。Web 開發(fā)可以將經(jīng)理集中在表示層(presenion layer)上。對于大型的項目,這種劃分極為重要。依據(jù)開發(fā)團(tuán)隊的大小,及項目的復(fù)雜程度,可以對靜態(tài) HTML 和動態(tài)內(nèi)容進(jìn)行弱分離(weakerseparation)和強分離(stronger separat
57、ion)。此處的并不是說人們應(yīng)該放棄使用 servlet 而僅僅使用 JSP。事實上,幾乎所有的項目都會同時用到這兩種技術(shù)。在某些項目中,更適宜選用 servlet,而針對項目中的某些請求,可能會在 MVC 構(gòu)架下組合使用這兩項技術(shù)??偸窍M眠m當(dāng)?shù)墓ぞ咄瓿上鄬?yīng)的工作,僅僅是 servlet 并不一定能夠勝任所有工作。1.6 1.2 JSP 的由來Sun 公司的 JSP 技術(shù),使 Web 頁面開發(fā)和格式化最終頁面。使用 JSP 標(biāo)識或者小求來變化的)??梢允褂?HTML 或者 XML 標(biāo)識來設(shè)計來生成頁面上的動態(tài)內(nèi)容(內(nèi)容是根據(jù)請Java Servlet 是 JSP 技術(shù)的基礎(chǔ),而且大型的
58、Web 應(yīng)用程序的開發(fā)需要 Java Servlet和 JSP 配合才能完成,Servlet 這個名稱源于 Applet,現(xiàn)在國內(nèi)的翻譯方式很多,本書為了避免誤會,決定直接采用 Servlet 而不做任何翻譯,讀者如果愿意,可以稱之為“小服務(wù)程序”。Servlet 其實和傳統(tǒng)的 CGI、ISAPI、NSAPI 等 Web 程序開發(fā)工具的作用是相似的,在使用 Java Servlet 以后,用戶不必再使用效率低下的 CGI 方式,也不必使用只能在某個固定 Web 服務(wù)器運行的 API 方式來動態(tài)生成 Web 頁面。許多 Web 服務(wù)器都支持 Servlet,即使不直接支持 Servlet 的 W
59、eb 服務(wù)器也可以通過附加的應(yīng)用服務(wù)器和模塊來支持 Servlet。得益于 Java 的跨的特性,Servlet 也是無關(guān)的,實際上,只要符合 Java Servlet 規(guī)范,Servlet 是完全與無關(guān)且是與 Web 服務(wù)器無關(guān)的。由于Java Servlet是以線程方式提供服務(wù),不必對于每個請求都啟動一個進(jìn)程,并且利用多線程機制可以同時為多個請求服務(wù),因此 Java Servlet 效率非常高。但 Java Servlet 也不是沒有缺點,和傳統(tǒng)的 CGI、ISAPI、NSAPI 方式相同,Java Servlet是利用輸出 HTML 語句來實現(xiàn)頁的,如果用 Java Servlet 來開
60、發(fā)整個,動態(tài)部分和靜態(tài)頁面的整合過程會非常難以實現(xiàn)。為了解決 Java Servlet 的這種缺點,SUN推出了 JSP。許多年前,Marty 受到邀請,參加一個有關(guān)技術(shù)的小型研討會.坐在 Marty 旁邊的人是 James Gosling Java 編程語言的發(fā)明者。隔幾個位置,是來自一家大型公司的高級經(jīng)理。在過程中,研討會的提出了 Jini 的議題,這在當(dāng)時是一項新的Java 技術(shù)。 向該經(jīng)理詢問他的想法.他回答說,雖然現(xiàn)在言之過早,但這看起來會是非常有前途的一項技術(shù)。他們會持續(xù)關(guān)注這項技術(shù),如果這項技術(shù)變得流行起來,他們會遵循公司的“接受并擴充(embrace and extend)”的
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度文化藝術(shù)行業(yè)離職員工解除合同證明
- 二零二五年度豪華別墅管家式住家保姆雇傭合同
- 二零二五年度智能交通系統(tǒng)股權(quán)收購合作協(xié)議
- 施工現(xiàn)場施工防噪隔音制度
- 現(xiàn)代家居設(shè)計中的綠植藝術(shù)實踐
- 醫(yī)療護(hù)理醫(yī)學(xué)培訓(xùn) 小麥病蟲害防治課件
- DB6528T 202-2024春玉米滴灌栽培技術(shù)規(guī)程
- 中小企業(yè)勞動合同模板大全
- 個人與工廠合作協(xié)議合同
- 個人借款合同條款解析
- 北京房地產(chǎn)典當(dāng)合同
- 兒童歌曲彈唱課程標(biāo)準(zhǔn)
- 大學(xué)生心理健康教育全套PPT完整教學(xué)課件
- 安慶匯辰藥業(yè)有限公司高端原料藥、醫(yī)藥中間體建設(shè)項目環(huán)境影響報告書
- 檔案工作管理情況自查表
- 初中英語人教版 八年級上冊 單詞默寫表 漢譯英
- pcs-9611d-x說明書國內(nèi)中文標(biāo)準(zhǔn)版
- T∕CMATB 9002-2021 兒童肉類制品通用要求
- 工序勞務(wù)分包管理課件
- 畢業(yè)論文-基于51單片機的智能LED照明燈的設(shè)計
- 酒廠食品召回制度
評論
0/150
提交評論