JSP动态网站技术--毕业论文外文文献翻译毕业论文.doc
《JSP动态网站技术--毕业论文外文文献翻译毕业论文.doc》由会员分享,可在线阅读,更多相关《JSP动态网站技术--毕业论文外文文献翻译毕业论文.doc(10页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 JSP dynamic web technologyJSP (JavaServer Pages) is initiated by Sun Microsystems, Inc., with many companies to participate in the establishment of a dynamic web page technical standards. JSP technology somewhat similar to ASP technology, it is in the traditional HTML pages in the document paragrap
2、h inserted JAVA procedures (Scriptlet) and JSP tag (tag), thus JSP documents. Using JSP development of the Web application is cross-platform that can run on Linux, is also available for other operating systems. JSP technology to use the Java programming language prepared by the category of XML tags
3、and scriptlets, to produce dynamic pages package processing logic. Page also visit by tags and scriptlets exist in the services side of the resources of logic. JSP page logic and web page design and display separation, support reusable component-based design, Web-based application development is rap
4、id and easy. Web server in the face of visits JSP page request, the first implementation of the procedures of, and then together with the results of the implementation of JSP documents in HTML code with the return to the customer. Insert the Java programming operation of the database can be re-orien
5、ted websites, in order to achieve the establishment of dynamic pages needed to function. JSP and Java Servlet, is in the implementation of the server, usually returned to the client is an HTML text, as long as the client browser will be able to visit. JSP 1.0 specification of the final version is la
6、unched in September 1999, December has introduced 1.1 specifications. At present relatively new is JSP1.2 norms, JSP2.0 norms of the draft has also been introduced. JSP pages from HTML code and Java code embedded in one of the components. The server was in the pages of client requests after the Java
7、 code and then will generate the HTML pages to return to the client browser. Java Servlet JSP is the technical foundation and large-scale Web application development needs of Java Servlet and JSP support to complete. JSP with the Java technology easy to use, fully object-oriented, and a platform-ind
8、ependent and secure, mainly for all the characteristics of the Internet. JSP dynamic web site development and technology. Early dynamic web site development and technology using a CGI-BIN interface. Developers to write interfaces with the relevant procedures and a separate Web-based applications, th
9、e latter through the Web server to call the former. This development technology there is a serious expansion of the problem - each new CGI procedural requirements on the server add a new process. If multiple users with access to the program, these processes will run out of the Web server all the res
10、ources available, until its collapse. In order to overcome the disadvantages of the proposed Microsoft Active Server Pages (ASP) technology, which use the plug-in and API simplifies Web application development. CGI and ASP compared to its advantages can include HTML tags, can directly access the dat
11、abase and the use of unlimited expansion of the ActiveX control, so the procedure on the preparation of a more flexible. But the technology is basically limited to Microsoft operating system platform, the main work environment is Microsofts IIS application structure, the ASP technology can not easil
12、y achieve cross-platform Web server program development. Hypertext Preprocessor (Hypertext Pre-processor), PHP dynamic web site development and technology similar to ASP, is also a kind of embedded in HTML document server-side scripting language. Most of its grammar and C, Java, Perl, and other simi
13、lar language and formed its own unique style, use of the language Web programmers can quickly develop dynamic pages. PHP in most Unix platforms, GUN / Linux and Microsoft Windows platform can run. PHPs main advantages are: ease of installation, the learning process simple database connection conveni
14、ence, compatibility strong expansion of the strong can object-oriented programming, and so on. However, PHP, there are some weaknesses, mainly PHP is an interpretation of language, not to support multi-threaded structure, the support platform and database connections are limited, especially in suppo
15、rt of the standards with regard to inherent weaknesses, for some e-commerce applications , PHP is not appropriate. There are also technologies such as Java Servlets technology, make use of the technology can be easily prepared using the Java language interactive server-side code. A Java Servlets is
16、a Java-based technology running on the server-side program (and Applet different, the latter running in the browser). Developers to write such a Java Servlets, to receive from the Web browsers HTTP request, to generate a dynamic response (may need to query the database to complete such a request), t
17、hen send HTML or XML documents response to the browser. The technology for ordinary pages designers to easily grasp it is very difficult. This approach, the entire page in the Java Servlets are to be created. If the developers or managers want to adjust Web pages that have to edit and re-build the J
18、ava Servlets. Sun Microsystems (Sun Microsystems Inc.) In Web servers, application servers, the trading system and development tools provider of broad support and cooperation, integration and balance already exists in the Java programming environment (such as Java Servlets and JavaBeans) To support
19、the technology and tools have a new, Web-based application development methods - JavaServer Pages Technology (JSP). This dynamic web site development and technology mainly have the following characteristics: To any Web or application server running on; From the application of logic and display pages
20、; To carry out the rapid development and testing; Simplifies the development of Web-based interactive applications for the process. JSP technology methods In order to facilitate the rapid and dynamic development of the site, JSP in the following areas made improvements, making it a rapid establishme
21、nt of cross-platform dynamic sites preferred option. 1. Will generate and display the contents of separation Using JSP technology, Web pages and developers can use HTML or XML logo design and formatting the final pages, and use the JSP logo or legs had generated dynamic content on the page (the cont
22、ent is based on changes in the request, for example, request account information A bottle of wine or a specific price, etc.). Content generated by the logic of the logo and packaging JavaBeans components, and tied up in the script, all of the scripts in the server-side run. As the core logic in the
23、logo and packaging was in the JavaBeans, Web page designers and management personnel, will be able to edit and use JSP pages and will not affect the content generated. In the server, JSP engine explained JSP logo and script, generated by the content of the request (for example, by visiting JavaBeans
24、 components, the use of JDBC to access the database or contain), and will result in HTML (or XML) pages in the form of sending Back to the browser. This helps to protect themselves from the code, can guarantee that any HTML-based Web browsers complete availability. 2. Reusable components The vast ma
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- JSP 动态 网站 技术 毕业论文 外文 文献 翻译
限制150内