freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)生就業(yè)信息管理系統(tǒng)的設(shè)計(jì)開(kāi)題報(bào)告(參考版)

2024-12-19 22:27本頁(yè)面
  

【正文】 使用 JSP 技術(shù)可以很方便地將一大堆 JSP 頁(yè)面組合成為一個(gè) Web 應(yīng)用程序。而且對(duì)于 CGI 來(lái)說(shuō),每一個(gè)訪(fǎng)問(wèn)就需要新增加一個(gè)進(jìn)程來(lái)處理,進(jìn)程不斷地建立和銷(xiāo)毀對(duì)于作為 Web 服務(wù)器的計(jì)算機(jī)將是不小的負(fù)擔(dān)。 和傳統(tǒng)的 CGI 相比較, JSP 有相當(dāng)?shù)膬?yōu)勢(shì)。 JSP 引擎只需在 Servlet 代碼最后被修改后編譯一次,然后這個(gè)編譯過(guò)的 Servlet 就可以被執(zhí)行了。這樣,當(dāng)網(wǎng)站的訪(fǎng)問(wèn)者請(qǐng)求一個(gè) JSP 頁(yè)時(shí),在它不知道的情況下,一個(gè)已經(jīng)生成的、預(yù)編譯過(guò)的 Servlet 實(shí)際上將完成所有的工作,非常隱蔽而又高效。 JSP 引擎實(shí)際上要把 JSP 標(biāo)簽、 JSP 頁(yè)中的 Java 代碼甚至連同靜態(tài) HTML 內(nèi)容都轉(zhuǎn) 換為大塊的 Java 代碼。 Beans 可以是JavaBeans 或 EJB 組件。在基本請(qǐng)求模型中,一個(gè)請(qǐng)求直接被送到 JSP 頁(yè)中。 Java 開(kāi)發(fā)者不僅可以創(chuàng)建和使用 JavaBeans,還能在 JSP 頁(yè)中使 用Java 語(yǔ)言來(lái)更精密地控制基于底層 JavaBeans 的表達(dá)邏輯。由于 JSP 的以組件為中心的性質(zhì),它可以被 Java 和非 Java 開(kāi)發(fā)者同樣使用。 作為一種以組件為中心的開(kāi)發(fā)平臺(tái), JSP 出現(xiàn)了。 JavaBeans 和 ActiveX 被“快速應(yīng)用程序開(kāi)發(fā)” (RAD)工具發(fā)行商推廣給 Java 和 Windows 應(yīng)用程序開(kāi)發(fā)者用來(lái)快速開(kāi)發(fā)復(fù)雜的程序。簡(jiǎn)而言之,隨著 Web 應(yīng)用程序的復(fù)雜性不斷提升,以頁(yè)面為中心的開(kāi)發(fā)方式的局限性變得明顯起來(lái)。其事實(shí)上,企業(yè)中可重用組件的應(yīng)用早已經(jīng)很成熟,沒(méi)有人愿意為它們的應(yīng)用程序重寫(xiě)那些邏輯。在腳本環(huán)境中書(shū)寫(xiě)的表達(dá)邏輯被鎖在頁(yè)面內(nèi),只有通過(guò)剪切和粘貼才能被重用。這種以頁(yè)面為中心的模型容易學(xué)習(xí)并且得到相當(dāng)快速的發(fā)展。 JSP 的機(jī)制 要理解 JSP 怎樣聯(lián)合以上各種所提到的技術(shù)的優(yōu)點(diǎn),從而輕而易舉地實(shí)現(xiàn)各種效果,用戶(hù)必須首先了解“組件為中心的網(wǎng)頁(yè)開(kāi)發(fā)”和“頁(yè)面為中心的網(wǎng)頁(yè)開(kāi)發(fā)”的區(qū)別。實(shí)際上,有一些 JSP 引擎就是采用的其他腳本語(yǔ)言,如EMACScript、 WebL 等,但實(shí)際上這幾種腳本語(yǔ)言也是構(gòu)建在 Java 上面,編譯為 Servlet 來(lái)實(shí)現(xiàn)的。解釋式的動(dòng)態(tài)網(wǎng)頁(yè) 開(kāi)發(fā)工具如 ASP、 PHP3 等由于速度等原因已經(jīng)滿(mǎn)足不了當(dāng)前大型電子商務(wù)應(yīng)用的需要了,傳統(tǒng)的開(kāi)發(fā)技術(shù)都在向編譯執(zhí)行的方式改變,如 ASP→ ASP+; PHP3→ PHP4。當(dāng)然,也可以利用 Java Servlet 來(lái)控制網(wǎng)站的邏輯,通過(guò) Java Servlet 調(diào)用 JSP 文件的方式來(lái)將網(wǎng)站的邏輯和內(nèi)容分離。分開(kāi)內(nèi)容和顯示邏輯的好處是,更新頁(yè)面外觀的人員不必懂得 Java 代 碼,而更新 JavaBeans 類(lèi)的人員也不必是設(shè)計(jì)網(wǎng)頁(yè)的行家里手,就可以用帶 JavaBeans 類(lèi)的 JSP 頁(yè)面來(lái)定義 Web 模板,以建立一個(gè)由具有相似的外觀的頁(yè)面組成的網(wǎng)站。然而,作為一種腳本語(yǔ)言, JSP 又顯得過(guò)于強(qiáng)大了,在 JSP 中幾乎可以使用全部的 Java 類(lèi)。 JSP 把 Java 作為默認(rèn)的腳本語(yǔ)言,然而,就像 ASP 可以使用其他語(yǔ)言 (如 JavaScript 和 VBScript)一樣, JSP 規(guī)范也允許使用其他語(yǔ)言。 JSP 是建立在 Java servlets 模型之上的表達(dá)層技術(shù),它使編寫(xiě) HTML 變得更簡(jiǎn)單。甚至 ASP(來(lái)自于前述經(jīng)理所在公司的一項(xiàng)產(chǎn)品 )都在 JSP 出現(xiàn)之前推廣了這種方式。 Java 團(tuán)隊(duì)并沒(méi)有發(fā)明這一思想 將頁(yè)面設(shè)計(jì)成 由靜態(tài) HTML 和用特殊標(biāo)簽標(biāo)記的動(dòng)態(tài)代碼混合組成 .。他們會(huì)持續(xù)關(guān)注這項(xiàng)技術(shù) ,如果這項(xiàng)技術(shù)變得流行起來(lái) ,他們會(huì)遵循公司的“接受并擴(kuò)充(embrace and extend)”的策略 .此時(shí) , Gosling 隨意地插話(huà)說(shuō)“你的意思其實(shí)就是不接受且不擴(kuò)充 (disgrace and distend)。在討論過(guò)程中 ,研討會(huì)的主席提出了 Jini 的議題 ,這在當(dāng)時(shí)是一項(xiàng)新的 Java 技術(shù)。 許多年前, Marty 受到邀請(qǐng) ,參加一個(gè)有關(guān)軟件技術(shù)的小型研討會(huì) .坐在Marty 旁邊的人是 James Gosling Java 編程語(yǔ)言的發(fā)明者。 但 Java Servlet 也不是沒(méi)有缺點(diǎn),和傳統(tǒng)的 CGI、 ISAPI、 NSAPI 方 式相同,Java Servlet 是利用輸出 HTML 語(yǔ)句來(lái)實(shí)現(xiàn)動(dòng)態(tài)網(wǎng)頁(yè)的,如果用 Java Servlet來(lái)開(kāi)發(fā)整個(gè)網(wǎng)站,動(dòng)態(tài)部分和靜態(tài)頁(yè)面的整合過(guò)程會(huì)非常難以實(shí)現(xiàn)。得益于 Java 的跨平臺(tái)的特性, Servlet 也是平臺(tái)無(wú)關(guān)的,實(shí)際上,只要符合 Java Servlet 規(guī)范, Servlet 是完全與平臺(tái)無(wú)關(guān)且是與 Web 服務(wù)器無(wú)關(guān)的。 Servlet 其實(shí)和傳統(tǒng)的 CGI、 ISAPI、NSAPI 等 Web 程序開(kāi)發(fā)工具的作用是相似的,在使用 Java Servlet 以后,用戶(hù)不必再使用效率低下的 CGI 方式,也不必使用只能在某個(gè)固定 Web 服務(wù)器平臺(tái)運(yùn)行的 API 方式來(lái)動(dòng)態(tài)生成 Web 頁(yè)面。使用 JSP 標(biāo)識(shí)或者小腳本來(lái)生成頁(yè)面上的動(dòng)態(tài)內(nèi)容 (內(nèi)容是根據(jù)請(qǐng)求來(lái)變化的 )。我們總是希望用適當(dāng)?shù)墓ぞ咄瓿上鄬?duì)應(yīng)的工作,僅僅是 servlet 并不一定能夠勝任所有工作。事實(shí)上,幾乎所有的項(xiàng)目都會(huì)同時(shí)用到這兩種技術(shù)。依據(jù)開(kāi)發(fā)團(tuán)隊(duì)的大小,及項(xiàng)目的復(fù)雜程度,可以對(duì)靜態(tài) HTML和動(dòng)態(tài)內(nèi)容進(jìn)行弱分離( weaker separation )和強(qiáng)分離( stronger separation)。 Web 開(kāi)發(fā)人員可以將經(jīng)理集中在表示層( presentation layer)上。 3)可以對(duì)開(kāi)發(fā)團(tuán)隊(duì)進(jìn)行劃分。 2)能夠使用標(biāo)準(zhǔn)的網(wǎng)站開(kāi)發(fā)工具 。 和單獨(dú)使用 servlet 相比, JSP 提供下述好處: 1) JSP 中 HTML 的編寫(xiě)與維護(hù)更為簡(jiǎn)單。問(wèn)題不在于技術(shù)的能力,而是二者在便利性、生產(chǎn)率和可維護(hù)性上的不同。因而,從根本上, JSP 頁(yè)面能夠執(zhí)行的任何任務(wù)都 可以用 servlet 來(lái)完成。下面我們簡(jiǎn)單的對(duì)它進(jìn)行介紹。 JSP 與 Microsoft 的 ASP 技術(shù)非常相似。 本文將介紹 JSP 相關(guān)的知識(shí),以及 JavaBean 的相關(guān)內(nèi)容,當(dāng)然都是比較粗略的介紹其中的基本內(nèi)容,僅 僅起到拋磚引玉的作用,如果讀者需要更詳細(xì)的信息,請(qǐng)參考相應(yīng)的 JSP 的書(shū)籍。 JSP 為創(chuàng)建高度動(dòng)態(tài)的 Web 應(yīng)用提供了一個(gè)獨(dú)特的開(kāi)發(fā)環(huán)境。盡管 JSP 規(guī)范是由 Sun公司制定的,但任何廠(chǎng)商都可以在自己的系統(tǒng)上實(shí)現(xiàn) JSP。JSP Java Server Pages(JSP)是一種基于 web 的腳本編程技術(shù),類(lèi)似于網(wǎng)景公司的服務(wù)器端 Java 腳本語(yǔ)言 —— serverside JavaScript(SSJS)和微軟的Active Server Pages(ASP)。s machine/ server the realm. JavaBeans and ActiveX were published the pany to expand to apply the procedure developer for Java and Windows to use to e to develop the plicated procedure quickly by the fast application procedure development( RAD) tool. These techniques make the expert in the some realm be able to write the module for the perpendicular application plait in the skill area, but the developer can go fetch the usage directly but need not control the expertise of this realm. Be a kind of take module as the central development terrace, the JSP appeared. It with the JavaBeans and Enterprise JavaBeans( EJB) module includes the model of the business and the data logic for foundation, provide a great deal of label and a script terraces to use to e to show in the HTML page from the contents of JavaBeans creation or send a present in return. Because of the property that regards the module as the center of the JSP, it can drive Java and not the developer of Java uses equally. Not the developer of Java can pass the JSP label( Tags) to use the JavaBeans that the deluxe developer of Java establish. The developer of Java not only can establish and use the JavaBeans, but also can use the language of Java to e to control more accurately in the JSP page according to the expression logic of the first floor JavaBeans. See now how JSP is handle claim of HTTP. In basic claim model, a claim directly was send to JSP page in. The code of JSP controls to carry on hour of the logic processing and module of JavaBeanses39。t satisfy current the large electronic merce needs appliedly, traditional development techniques are all at to edit and translate the executive way change, such as the ASP → ASP+。t do any translation, if reader would like to, can 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 again the lowly method of CGI of efficiency, also need not use only the ability e to born page of Web of dynamic state in the method of API that a certain fixed Web server terrace circulate. Many servers of Web all support the Servlet, even not support the Servlet server of Web directly and can also pass the additional applied server and the mold pieces to support the Servlet. Receive benefit in the characteristic of the Java crossplatform, the Servlet is also a terrace irrelevant, actually, as long as match the norm of Java Servlet, the Servlet is plete to have nothing to do with terrace and is to have nothing to do with server of Web. Because the Java Servlet is internal to provide the service by the line distance, need not start a progress to the each claimses, and make use of the mechanism can at the same time for several claim service, therefore the efficiency of J
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1