当前位置:文档之家› 商城购物系统设计中英文对照外文翻译文献

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

商城购物系统设计中英文对照外文翻译文献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 service1.1 n of ServletServlets 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 browserFigure 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 resultsThis 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 usersThis 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 formatso 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、成本低廉相比传统CGI技术,使用servlet的成本更低。

这是因为servlet不需要启动新的进程或载入多个实例,从而减少了服务器的负载和内存需求。

此外,由于Java是一种开源的语言,因此使用servlet也可以避免使用商业软件所带来的高额成本。

价格和可移植性在某种程度上是相互关联的。

例如,Marty记录了所有通过电子邮件向他发送问题的读者的所在国。

印度接近列表的顶端,可能仅次于美国。

Marty曾在马尼拉讲授过JSP和Servlet培训课程,那里对Servlet和JSP技术抱有很大的兴趣。

总之,servlet和JSP技术已经成为Web应用程序开发的主流,它们的优势在于灵活性、可移植性和安全性。

对于印度和菲律宾等国家的软件开发人员来说,这些优势尤为重要。

当然,仅仅因为技术流行并不意味着其优越性。

有许多___的例子可以证明这一点。

然而,我们的立场是:服务器端Java并不是一项新的、未经证实的技术。

Finally, ___ results based on the n they have gathered. This can include performing complex ns, retrieving data from adatabase, or ___ on the server. By serving as a middle layer een clients and servers, servlets play a critical role in the ___.Finally, the implicit HTTP response data must be sent to the client. This includes n such as the status code, headers, and cookies. This data is automatically generated by the web server and sent along with the explicit data to the client.2.___3.Real-timeupdates4.cedmaintenancecosts5.___In summary, dynamic web pages provide a more personalized, interactive, and ___ for users. They allow for real-time updates, n of content, and ___. While pre-built static pages may suffice for some requests, dynamic pages are essential for many modern web ns.___ to access that data. This can be done through APIs or other means of connecting to the data source. It is ___ is secure and that user data is protected when accessing these sources.the code is loaded into memory only once, and each request is handled by a new instance of the servlet class.2. Easier to UseUnlike nal CGI, servlets can be developed using standard Java development tools, such as Eclipse or NetBeans. This makes it easier for developers to write, test, and debug their code. nally, servlets can be packaged into a single WAR (Web n Archive) file, ___.3. More PowerfulServlets have access to the entire Java API, which includes powerful features such as multithreading, orking, ___ to create complex web ns that can handle large amounts of traffic and data.4. More PortableBecause servlets are written in Java, they can run on any platform that supports the Java Virtual Machine (JVM). This includes Windows, Linux, and Mac OS X, among others. This makes it ___ systems.5. Safer___, ___ to run under a specific user account, ___.6. CheaperIn summary, ___ nal CGI, including increased efficiency, ease of use, power, portability, safety, and cost savings. While servlets can be used in a variety of server types, we will focus on HTTP servlets in this n.___-side programming capabilities. They can access the full range of Java APIs, including database connectivity, XML parsing, and ork socket programming. This makes it possible to create complex and dynamic web ns that can handle large amounts of data and perform complex processing tasks. In contrast, CGI programs are ___ and cannot access the full range of system resources available to the server. nally, because servlets are written in Java, they are platform-independent and can run on any server that supports the Java Virtual Machine. This makes it easy to deploy servlet-based ns across a wide range of systems without having to ___.However, with servlets and JSP, they could start with a free server like Apache Tomcat (either standalone, embedded in the regular Apache web server, or embedded in Microsoft IIS). Once the project starts to gain momentum, they could move to a more sophisticated server like WebLogic or WebSphere.One of the main ___. This can lead to security ___ SQL n and Cross-site Scripting (XSS). On the other hand, Java Servlets, JSP, and EJBs ___ the Java Virtual Machine (JVM), which provides built-in security features such as memory ___, JavaEE servers like Tomcat and WebLogic have built-in security ___, n, ___'s needs.In contrast, servlets do not suffer from either of these problems. Even if a servlet executes a system call (e.g., withRuntime.exec or JNI) to invoke a program on the local operating system, it does not use a shell to do so. nally, ___ features are a central part of the Java programming language.。

相关主题