donaricano-btn

 Why do we use a tomcat?


1. Web application server

- tomcat, JBoss, TomEE, jetty....


2.  pros and cons

  1) pros

- Free

- Cross-platform

  2) cons

   - Tomcat only has a Java SE spec

   - Tomcat is not a completely WAS


3. How to consist of tomcat

1) Catalina : servlet container

  - It's Environment that host java's servlet


2) Coyote : HTTP component

  - To provide protocol through TCP


3) Jasper : Engine of JSP

  - Dealing with a request of JSP


4. Process

  1) Coyote get a http request

  2) Catalina search for a Doc Base and refer to web.xml 

  3) If this request is a JSP, Jasper will compile it

'WAS > Tomcat' 카테고리의 다른 글

[Tomcat] 6. Interwork DB  (0) 2016.04.24
[Tomcat] 5. Batch - Parallel deployment  (0) 2016.04.24
[Tomcat] 4. Batch  (0) 2016.04.22
[Tomcat] 3. Config  (0) 2016.04.21
[Tomcat] 2. Set up a native lib  (0) 2016.04.21
블로그 이미지

리딩리드

,