商城购物系统设计中英文对照外文翻译文献

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

商城购物系统设计中英文对照外文翻译文

Abstract: Servlet programs run on the server side, ___ CGI-like technologies, Java Servlet has higher efficiency, easier to use, more powerful ns, better portability, and more cost savings.

Keywords: ___, Servlet, HTTP service

1.1 n of Servlet

Servlets are Java programs that run on web or n servers. It is a middleware that connects requests from web browsers or other HTTP client programs and databases or ns on HTTP servers. The work of the servlet is to perform the tasks of the Simeon, as shown in Figure 1.1.

Figure 1.1 The role of web middleware

(1) Read explicit data ___

___ by end users in HTML forms on the page. However, data may also come from applets or custom HTTP client programs. (2) Read implicit request data sent by the browser

Figure 1.1 shows a single arrow from the client to the web server, but in fact, there are two types of data transmitted from the client to the web server, which are explicit data entered by the user in the form and background HTTP n. Both types of data are important. HTTP n includes cookies, media types recognized by browsers, ___.

(3) Generate results

This process may require accessing a database, performing RMI or EJB calls, calling web services, or directly calculating the corresponding response. The actual data may be stored in a nal database. The database may not understand HTTP or may not be able to return results in HTML form, so web browsers ___ with the database. Even if it can do this, for security reasons, we do not want it to do so. Similar ___, we need the web middleware to extract input data from the HTTP stream, communicate with the n, and embed the results into the document.

(4) ___) to users

This document can be sent in us formats, including text (HTML or XML), binary (GIF graphics), ___ underlying formats, such as gzip. However, HTML is the most commonly used format

so far, so one of the important tasks of Servlet and JSP is to wrap the results in HTML.

(5) Send implicit HTTP response data to users

总之,动态构建网页可以根据具体情况灵活地生成页面,从而满足客户的需求。

使用servlet相比传统CGI技术,更加便利。传统CGI技

术需要将CGI程序编写为可执行文件并将其放置在服务器上,这样就需要进行一系列的配置和管理。而使用servlet,只需要将Java类文件放置在服务器上即可。这种方式更加简单,也

更加灵活,因为Java类文件可以在不同的服务器上运行,而

不需要进行重新编译或安装。

3、功能强大

servlet的功能非常强大,可以处理各种类型的请求,包括GET、POST、PUT、DELETE等。此外,servlet还可以处理

文件上传、会话管理、安全验证等各种任务。通过使用servlet,可以简化服务器端的开发工作,同时提高应用程序的可靠性和可扩展性。

4、易于移植

由于Java是一种跨平台的语言,因此使用servlet可以轻

松地将应用程序移植到不同的操作系统和服务器上。这种方式可以降低开发和维护成本,并且可以更快地将应用程序部署到生产环境中。

5、安全性高

servlet的安全性非常高,可以通过许多机制来保护应用程

序和服务器。例如,servlet可以使用HTTPS协议来加密数据

传输,可以使用数字证书来验证客户端身份,可以使用访问控制列表来限制对应用程序的访问等。这些机制可以提高服务器和应用程序的安全性。

6、成本低廉

相关文档
最新文档