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.

最新文章

  1. mongoose操作汇总。嘻嘻
  2. Call to undefined function curl_init()
  3. 【转】Oracle 执行动态语句
  4. static 类也可以有static构造函数
  5. 斌哥的 Docker 进阶指南—监控方案的实现
  6. 最详细的JavaScript和事件解读
  7. c#基础语言编程-多态
  8. 单列模式 (singleton pattern)
  9. phantomjs 开发爬虫框架
  10. Spring Boot 中的静态资源到底要放在哪里?
  11. java面试准备之面向对象
  12. Python反转过程学习
  13. HDU 6425(羽毛球组合 **)
  14. 在已有的Java项目中使用Kotlin
  15. MSMQ 跨服务器读写队列的“消息队列系统的访问被拒绝”的解决方案
  16. cxgridchart饼状图
  17. 内核block机制
  18. OpenModelica中simulate的用法
  19. MIT Molecular Biology 笔记2 DNA的突变和修复
  20. JobScheduler android任务调度处理组件(类似QuartZ)

热门文章

  1. Shell判断某文件夹下是否存在xxx开头的字符串
  2. Oracle中常见的Hint(一)
  3. WPF非UI线程访问网络资源造成页面假死现象
  4. Makefile中几种赋值
  5. 2018-2-13-win10-uwp-活动磁贴
  6. celery使用的小记录
  7. TCP 三次握手和四次挥手中的ACK 为什么总是SYN + 1 或者 FIN +1 而不是+ 其他数值?
  8. 【JS学习】慕课网7-23编程练习 有关字符串数组
  9. mysql 中字符串拼接,查询sql语句总结
  10. leetcode-164周赛-1266-访问所有点的最小时间