文档库 最新最全的文档下载
当前位置:文档库 › JSP技术简介及特点——外文翻译

JSP技术简介及特点——外文翻译

JSP技术简介及特点——外文翻译
JSP技术简介及特点——外文翻译

JSP Technology Conspectus And Specialties

By:Kathy Sierra and Bert Bates

Source: Servlet&JSP

The JSP (Java Server mix) technology is used by the Sun microsystem issued by

the company to develop dynamic Web application technology. With its easy, cross-platform, in many dynamic Web application programming languages, in a short span of a few years, has formed a complete set of standards, and widely used in electronic commerce, etc. In China, the JSP now also got more extensive attention, get a good development, more and more dynamic website to JSP technology. The related technologies of JSP are briefly introduced.

The JSP a simple technology can quickly and with the method of generating Web pages. Use the JSP technology Web page can be easily display dynamic content. The JSP technology are designed to make the construction based on Web applications easier and efficient, and these applications and various Web server, application server, the browser and development tools work together.

The JSP technology isn't the only dynamic web technology, also not the first one, in the JSP technology existed before the emergence of several excellent dynamic web technology, such as CGI, ASP, etc. With the introduction of these technologies under dynamic web technology, the development and the JSP. Technical JSP the development background and development history

In web brief history, from a world wide web that most of the network information static on stock transactions evolution to acquisition of an operation and infrastructure. In a variety of applications, may be used for based on Web client, look no restrictions.

Based on the browser client applications than traditional based on client/server applications has several advantages. These benefits include almost no limit client access and extremely simplified application deployment and management (to update an application, management personnel only need to change the program on a server, not thousands of in stallati on in clie nt applicati on s). So, the software in dustry is rapidly to build on the clie nt browser multi-layer applicati on.

The rapid growth of exquisite based Web application requirements development of technical improvements. Static HTML to show relatively static content is right choice, The new challe nge is to create the in teracti on based on Web applicati ons, in these procedures, the content of a Web page is based on the user's request or the state of the system, and are not predefi ned characters.

For the problem of an early solutio n is to use a CGI - BIN in terface. Developers write to in terface with the releva nt procedures and separate based on Web applicatio ns, the latter through the Web server to inv oke the former. This pla n has serious problem -- each new extensible CGI requirements in a new process on the server. If multiple concurrent users access to this procedure, these processes will use the Web server of all available resources, and the performa nee of the system

will be reduced to extremely low.

Some Web server providers have to provide for their server by plugi ns "and" the API to simplify the Web applicati on developme nt. These soluti ons are associated with certa in Web server, cannot solve the spa n multiple suppliers soluti ons. For example, Microsoft's Active Server mix (ASP) tech no logy in the Web page to create dyn amic content more easily, but also can work in Microsoft on Pers onal Web Server and IIS.

There are other soluti ons, but cannot make an ordi nary page desig ners can easily master. For example, such as the Servlet Java tech no logies can use Java Ian guage in teracti on applicati on server code easier. Developersto write such Servlet to receive sig nals from the Web browser to gen erate an HTTP request, a dyn amic resp onse (may be inqu ires the database to finish the request), then send contain HTML or XML documents to the response of the browser.

no te: one is based on a Java Servlet Java tech ni cal operati on in the server program (with different, the latter operating in the Applet browser end). In this book the Servlet chapter 4.

Using this method, the en tire page must have made in Java Servlet. If developers or Web man agers want to adjust page, you'll have to edit and recompile the Servlet Java, eve n in logic has bee n able to run. Using this method, the dyn amic content with the applicatio n of the page still n eed to develop skills.

Obviously, what is n eeded is a in dustry to create dyn amic content within the scope of the pages of the solutio n. This program will solve the curre nt scheme are limited. As follows: can on any Web server or applicatio ns.

相关文档