【正文】
s emphasis on ponents over scripting makes it easier to revise content without affecting logic, or revise logic without changing content. The Enterprise JavaBeans architecture encapsulates the enterprise logic, such as database access, security , and transaction integrity , and isolates it from the application itself. Because。s Perspective Both ASP and JSP technologies let developers separate content generation from layout by accessing ponents from the page. ASP supports the COM model, while JSP technology provides ponents based on JavaBeansTM technology or JSP tags. As noted previously, the differences outweigh the similarities. Extensible JSP Tags The first difference apparent to any page author are the JSP tags themselves. While both ASP and JSP use a bination of tags and scripting to create dynamic Web pages, JSP technology enables developers to extend the JSP tags available. JSP developers can create custom tag libraries, so page authors can access more functionality using XMLlike tags and depend less on scripting. With custom tags, developers can shield page authors from the plexities of page creation logic and extend key functions to a broader range of authors. Reusability Across Platforms Developers will also notice the focus on reusability. The JSP ponents Enterprise JavaBeansTM, JavaBeans, or custom JSP tags are reusable across platforms. An Enterprise JavaBean ponent accessing legacy databases can serve distributed systems on both UNIX and Microsoft Windows platforms. And the tag extension capability of JSP technology gives developers an easy, XMLlike interface for sharing packaged functionality with page designers throughout the enterprise. This ponentbased model speeds application development because it enables developers to: Build quick prototype applications using lightweight subponents, then integrate additional functionality as it bees available Leverage work done elsewhere in the anization and encapsulate it in a JavaBean or Enterprise JavaBean ponent The Java Advantage JSP technology uses the Java language for scripting, while ASP pages use Microsoft VBScript or JScript. The Java language is a mature, powerful, and scalable programming language that provides many benefits over the Basicbased scripting languages. For example, the Java language provides superior performance to the interpreted VBScript or JScript languages. Because they use Java technology and are piled into Java servlets, JSP pages provide a gateway to the entire suite of serverside Java libraries for HTTPaware applications. The Java language makes the developer39。 畢業(yè)設(shè)計(jì)更讓人懂得一個(gè)人的力量與知識(shí)是很有限的,只有虛心的向老師和同學(xué)學(xué)習(xí),并把所學(xué)的知識(shí)運(yùn) 用到實(shí)踐中去,才能有所收獲 參考文獻(xiàn) [1] 胡曉天 .Dream weaver MX 2020 網(wǎng)站設(shè)計(jì)師標(biāo)準(zhǔn)案例教程 .北京:機(jī)械工業(yè)出版 , 2020 [2] 黃竣 .Dream weaver MX 精彩設(shè)計(jì)百例 .北京 :中國(guó)水利水電出版社 ,2020 [3] 龍馬工作室 .FLASH MX Action Script 實(shí)例字典 .北京 :機(jī)械工業(yè)出版社 ,2020 [4] 閻衛(wèi)星 .FLASH MX 標(biāo)準(zhǔn)教程 .上海:海洋出版社 ,2020 [5] :電子工業(yè)出版社 ,2020 [6] 張海藩軟件工程清華大學(xué)出版社出版 1998 [7] 陳耀溪 Inter 技術(shù)及應(yīng)用教程西電子科技大學(xué)出版社出版, 2020 薩師煊數(shù)據(jù)庫(kù)系統(tǒng)概論高等教育出版社出版 2020 [9] 北京東方文輝信息技術(shù)有限公司 FSM 快速開發(fā)平臺(tái)高級(jí)開發(fā)指南宋昕ASP 網(wǎng)絡(luò)開發(fā)技術(shù)實(shí)用教程中國(guó)鐵道李學(xué)軍海洋出版社龍馬工作室人民郵電宋昕 ASP 網(wǎng)絡(luò)開發(fā)技術(shù)實(shí)用教程中國(guó)鐵道 , :機(jī)械工業(yè)出版社 [15] HansBergsten,林琪朱濤江譯 JSP 設(shè)計(jì)第三版 2020 年 11 月第 1 版 WilliamCrawford, 設(shè)計(jì) 202010 [19] :西安電子科技大學(xué)出版社, 20206 附 錄 外文文獻(xiàn) JavaServer Pages[tm] Technology Comparison with ASP While JavaServer Pages technology and Microsoft Active Server Pages are similar in many ways, there are also a number of differences that exist. And these differences are just as significant as the similarities, and have farreaching implications for the developers who use them as well as the anizations that adopt them as part of their overall Webbased architecture. JSP Technology: An Open Approach In many ways, the biggest difference between JSP and ASP technologies lies in the approach to the software design itself. JSP technology is designed to be both platform and server independent, created with input from a broader munity of tool, server, and database vendors. In contrast, ASP is a Microsoft technology that relies primarily on Microsoft technologies. Platform and Server Independence JSP technology adheres to the Write Once, Run AnywhereTM philosophy of the JavaTM architecture. Instead of being tied to a single platform or vendor, JSP technology can run on any Web server and is supported by a wide variety of tools from multiple vendors. Because it uses ActiveX controls for its ponents, ASP technology is basically restricted to Microsoft Windowsbased platforms. Offered primarily as a feature of Microsoft IIS, ASP technology does not work easily on a broader range of Web servers because ActiveX objects are platform specific. Although ASP technology is available on other platforms through thirdparty porting products, to access ponents and interact with other services, the ActiveX objects must be present on the selected platform. If not present, a bridge to a platform supporting them is required. Open Development Process, Open Source Sun developed JSP technology using the Java Community Process. Since 1995, Sun has used this open process to develop and revise Java technology and specifications in cooperation with the international Java munity. Working with Sun in the JSP effort are authoring tool vendors such as Macromedia , container panies such as Apache and Netscape , end users, consultants, and others. Going forward, Sun is licensing the latest versions of JSP and JavaTM Servlet JSP and Java Servlet source code to Apache to be developed and released under the Apache development process. Apache, Sun, and a number of other panies and individuals will openly develop a robust reference implementation RI that is freely available to any pany or individual. Additional information can be found at The JSP applicati