Tomcat Architect
2018-06-18 03:23:44来源:未知 阅读 ()
Tomcat Architect
Hierarchy of nested tag representing different components in server.xml.
1 <Server>
2 <Service>
3 <Connector />
4 <Connector />
5 <Engine>
6 <Host>
7 <Context />
8 </Host>
9 </Engine>
10 </Service>
11 </Server>
Deployment structure of tomcat
Internal structure of Engine container.
GLOSSARY
Server: It is not a container, it’s listened by a standalone port.
Listener: performs actions when some defined events occur
Global Naming Resources: define some initial instance created in JNDI way.
JNDI: Java Naming Directory Interface
Service: it isn’t a container, subcomponents are connectors and engine.
Connector: endpoint by which requests are received and responses are returned.
HTTP Connector, meeting HTTP protocol , which handle request pipeline from browser;
AJP Connector, meeting AJP protocol.
Engine: the entry point that processes every request.
Host: configure one more host when cluster deployment is required
Context: represent a web application, a host can deploy one more contexts (web application)
Valve: similar with ‘filter’, it processes common business or print log on processing request pipeline with formatted form. So the instance it works on is only container.
Realm: could be understood as ‘domain or group role’, it restrict access to ‘container’, such as engine, host, context.
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
上一篇:hibernate4入门
下一篇:Servlet生命周期与线程安全
- java环境教程:Tomcat下载,安装,设置为Windows服务,启动 2020-06-09
- Idea实现SpringBoot外置Tomcat的Web项目热部署(包含静态文 2020-06-04
- 【报错】导入项目后报错:Target runtime Apache Tomcat v7. 2020-05-25
- 解决windows下tomcat端口被占用最简单暴力方法 2020-05-25
- Tomcat安装 2020-05-23
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash