【精品文档】562关于计算机专业小型应用程序java服务端页面App设计的毕业设计论文英文英语外文文献翻译成品资料:使用Servlet和JSP构建Web应用程序(中英文双语对照)

上传人:从****越 文档编号:130226416 上传时间:2020-04-26 格式:DOCX 页数:29 大小:1.30MB
返回 下载 相关 举报
【精品文档】562关于计算机专业小型应用程序java服务端页面App设计的毕业设计论文英文英语外文文献翻译成品资料:使用Servlet和JSP构建Web应用程序(中英文双语对照)_第1页
第1页 / 共29页
【精品文档】562关于计算机专业小型应用程序java服务端页面App设计的毕业设计论文英文英语外文文献翻译成品资料:使用Servlet和JSP构建Web应用程序(中英文双语对照)_第2页
第2页 / 共29页
【精品文档】562关于计算机专业小型应用程序java服务端页面App设计的毕业设计论文英文英语外文文献翻译成品资料:使用Servlet和JSP构建Web应用程序(中英文双语对照)_第3页
第3页 / 共29页
【精品文档】562关于计算机专业小型应用程序java服务端页面App设计的毕业设计论文英文英语外文文献翻译成品资料:使用Servlet和JSP构建Web应用程序(中英文双语对照)_第4页
第4页 / 共29页
【精品文档】562关于计算机专业小型应用程序java服务端页面App设计的毕业设计论文英文英语外文文献翻译成品资料:使用Servlet和JSP构建Web应用程序(中英文双语对照)_第5页
第5页 / 共29页
点击查看更多>>
资源描述

《【精品文档】562关于计算机专业小型应用程序java服务端页面App设计的毕业设计论文英文英语外文文献翻译成品资料:使用Servlet和JSP构建Web应用程序(中英文双语对照)》由会员分享,可在线阅读,更多相关《【精品文档】562关于计算机专业小型应用程序java服务端页面App设计的毕业设计论文英文英语外文文献翻译成品资料:使用Servlet和JSP构建Web应用程序(中英文双语对照)(29页珍藏版)》请在金锄头文库上搜索。

1、本文是中英双语对照毕业设计论文外文文献翻译,下载之后直接可用!省去您找文献、pdf整理成word以及翻译的时间!一辈子也就一次的事!文献引用作者出处信息:Vishal Layka Learn Java for web development,2020 (如觉得年份太老,可改为近2年,毕竟很多毕业生都这样做)英文3478单词,21585字符(字符就是印刷符),中文5495汉字。(如果字数多了,可自行删减,大多数学校都是要求选取外文的一部分内容进行翻译的。)Building Web Applications Using Servlets and JSPThe core Internet proto

2、cols substantiate and sustain the Web, so understanding these protocols is fundamental to understanding how web applications are developed.The Internet is a colossal network of networks, and in general, all of the machines on the Internet can be classified into two types: the server and the client.

3、The client is the machine requesting some information, and the server is the machine that provides that information. The information data that flows from the information provider (that is, the server) to the information requester (that is, the client) is bound by a definite rule that governs the mar

4、shaling of the information to be transmitted by the server and the unmarshaling of the information to be translated or read by the client. This rule is called the protocol. The web browser (that is, the client), the web server (that is, the server), and the web application all converse with each oth

5、er through the Hypertext Transfer Protocol (HTTP). The clients send HTTP requests to the web servers, and the web servers return the requested data in the form of HTTP responses. The HTTP clients and the HTTP servers are the bricks and mortar that lay the foundation of the World Wide Web, and HTTP i

6、s the lingua franca of the Web.HTTP is a request-response stateless protocol, the corollary of which is that, from the web servers view, any request is the first request from the web browser. When a client makes a request for the resource, the request also encloses the identification of the resource

7、 being requested, in the form of a Uniform Resource Locator (URL). URLs are described in RFC 39861 as a uniform way of uniquely identifying a resource. URLs are designed to implicitly provide a means of locating a resource by describing its “location” on a network.A generic URL is a hierarchical seq

8、uence of components, structured as scheme:/hostName:portNumber/path/resource?query string.To identify the parts of a URL, consider a URL that lists the details of a book on your bookstore web site, as shown here:The host name and port number together are termed an authority. By default, a web server

9、 such as Tomcat, as explained later, listens for incoming requests on port 8080. Some parts of the URL shown in Figure 2-1 are optional, including the port number (which defaults to the well-known ports 80 and 443 for the HTTP and HTTPS schemes, respectively) and the query string.When present, a que

10、ry string is a series of name-value pairs preceded with a question mark (?) and with an ampersand (&) separating the pairs.A web application is a collection of web components that work together to provide a specific functionality on the Web. In the Java EE specification, a web component is defined t

11、o be either a Servlet or a Java Server Page (JSP) page.The web application and its constituent components are managed and executed inside the web container, also called a servlet container, which provides additional features to the web application such as security. When the web server gets a request

12、 for specific functionality that a particular web component (such as a servlet or a JSP page) can provide, the web server forwards the request to the servlet container in which the web component resides. All requests for the dynamic content (that is, all requests to the web component that is respons

13、ible for generating the dynamic content) are mediated by the servlet container, as shown in Figure 2-2.The Java EE Servlet and JSP specifications describe the service contract that a servlet container must provide and specify how a servlet should use those services. In terms of implementation, a ser

14、vlet is a Java class that acts as a dynamic web resource.ServletsServlets are the central processing unit of a Java web application and are responsible for most of the processing required by a web application. Specifically, a servlet is a Java class that implements the javax.servlet.Servlet interfac

15、e. The Servlet interface defines the methods that all servlets must implement. “One ring to rule them all!” This interface, along with other methods, defines key life-cycle methods such as init(), service(), and destroy() to initialize a servlet, to service requests, and to remove a servlet from the

16、 server, respectively. Table 2-1 describes all the methods of the javax.servlet.Servlet interface.The life-cycle methods are invoked by the container at appropriate instants in a servlets life in the following sequence:1.The servlet is constructed and then initialized with the init method.2.Any calls from clients to the service method are handled.3.The servlet is then destroyed with the destroy method, garbage collected, a

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 学术论文 > 期刊/会议论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号