什么是Tomcat组件?什么是卡塔利娜和郊狼? [英] What are the Tomcat Component? What is Catalina and Coyote?

查看:339
本文介绍了什么是Tomcat组件?什么是卡塔利娜和郊狼?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能描述


  • Tomcat中的组件是什么?在Tomcat服务器中的作用是什么?

  • What is component in Tomcat and what is role of it in Tomcat server?

土狼是什么?

什么是卡塔琳娜?

推荐答案

Catalina 是Tomcat的servlet容器。 Catalina实施Sun Microsystems的servlet和JavaServer Pages(JSP)规范。在Tomcat中,Realm元素代表分配给这些用户的用户名,密码和角色(类似于Unix组)的数据库。 Realm的不同实现方式允许Catalina集成到已经创建和维护了此类认证信息的环境中,然后使用该信息来实现Servlet规范中所述的容器管理的安全性。

Catalina is Tomcat's servlet container. Catalina implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP). In Tomcat, a Realm element represents a "database" of usernames, passwords, and roles (similar to Unix groups) assigned to those users. Different implementations of Realm allow Catalina to be integrated into environments where such authentication information is already being created and maintained, and then use that information to implement Container Managed Security as described in the Servlet Specification

土狼是Tomcat的连接器组件,支持HTTP 1.1协议作为Web服务器。这使Catalina(名义上是Java Servlet或JSP容器)还可以充当普通的Web服务器,将本地文件作为HTTP文档提供服务。

Coyote is a Connector component for Tomcat that supports the HTTP 1.1 protocol as a web server. This allows Catalina, nominally a Java Servlet or JSP container, to also act as a plain web server that serves local files as HTTP documents.

土狼 >在特定的TCP端口上侦听到服务器的传入连接,并将请求转发到Tomcat引擎以处理该请求并将响应发送回给请求的客户端。另一个土狼连接器Coyote JK进行类似的侦听,但是使用JK协议将其请求转发到另一个Web服务器,例如Apache。通常,这可以提供更好的性能。

Coyote listens for incoming connections to the server on a specific TCP port and forwards the request to the Tomcat Engine to process the request and send back a response to the requesting client. Another Coyote Connector, Coyote JK, listens similarly but instead forwards its requests to another web server, such as Apache, using the JK protocol. This usually offers better performance.

这篇关于什么是Tomcat组件?什么是卡塔利娜和郊狼?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆