Presentation is loading. Please wait.

Presentation is loading. Please wait.

Apache Jakarta Tomcat 20041058 Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container.

Similar presentations


Presentation on theme: "Apache Jakarta Tomcat 20041058 Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container."— Presentation transcript:

1 Apache Jakarta Tomcat 20041058 Suh, Junho

2 Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container Servlet Container Web Server Component Web Server Component Tomcat Execution Mode Tomcat Execution Mode Tomcat How it works? Tomcat How it works?

3 Tomcat Overview WWWWhat we need to make more dynamic web documents? Server that supports JSP, ASP, database etc… WWWWe concentrates on Something that support JSP. Something is Tomcat WWWWhy it is popular?? GNU license, it`s free!

4 Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container Servlet Container Web Server Component Web Server Component Tomcat Execution Mode Tomcat Execution Mode Tomcat How it works? Tomcat How it works?

5 History Before Tomcat Before Tomcat Competition of CGI CGI(Perl, C)1 processor/1 request Fast CGI1 processor/same request ASP,PHP1 thread/1 request script Servlet1 thread/1 request compile JSP1 thread/1 request 2 compile Born Tomcat Born Tomcat Servlet 2.2api + jsp 1.1api = Tomcat 3.1 Servlet api 2.3 + JSP api 1.2 = Tomcat 4.0 Servlet api 2.4 + JSP api 2.0 = Tomcat 5.0(latest)

6 Tomcat 3.1 including servlet reloading including servlet reloading WAR file support and added connectors for the IIS and Netscape web servers WAR file support and added connectors for the IIS and Netscape web servers contained fixes for security problems contained fixes for security problems

7 Tomcat 4.0 Implements a new servlet container (called Catalina) that is based on completely new architecture Implements a new servlet container (called Catalina) that is based on completely new architecture JMX based administration features JMX based administration features JSP and Struts based administration web application JSP and Struts based administration web application New Coyote connector (HTTP/1.1, AJP 1.3 and JNI support) New Coyote connector (HTTP/1.1, AJP 1.3 and JNI support) Rewritten Jasper JSP page compiler Rewritten Jasper JSP page compiler Performance and memory efficiency improvements Performance and memory efficiency improvements Enhanced manager application support for integration with development tools Enhanced manager application support for integration with development tools Custom Ant tasks to interact with the manager application directly from build.xml scripts Custom Ant tasks to interact with the manager application directly from build.xml scripts

8 Tomcat 5.0 resulting in improved performance, stability, and total cost of ownership resulting in improved performance, stability, and total cost of ownership Performance optimizations and reduced garbage collection Performance optimizations and reduced garbage collection Refactored application deployer, with an optional standalone deployer allowing validation and compilation of a web application before putting it in production Refactored application deployer, with an optional standalone deployer allowing validation and compilation of a web application before putting it in production Complete server monitoring using JMX and the manager web application Complete server monitoring using JMX and the manager web application Scalability and reliability enhancements Scalability and reliability enhancements Improved Taglibs handling, including advanced pooling and tag plugins Improved Taglibs handling, including advanced pooling and tag plugins Improved platform integration, with native Windows and Unix wrappers Improved platform integration, with native Windows and Unix wrappers Embedding using JMX Embedding using JMX Enhanced Security Manager support Enhanced Security Manager support Integrated session clustering Integrated session clustering Expanded documentation Expanded documentation

9 Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container Servlet Container Web Server Component Web Server Component Tomcat Execution Mode Tomcat Execution Mode Tomcat How it works? Tomcat How it works?

10 What is Tomcat? Tomcat Java-based web server + servlet container w/ JSP Most popular!! Tomcat Current Version 4.1.27(stable) 5.0.12(beta) Tomcat Component Mysql, java, Tomcat4, ant, apache, tomcat connector&apr, mod_jk, jdbc

11 Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container Servlet Container Web Server Component Web Server Component Tomcat Execution Mode Tomcat Execution Mode Tomcat How it works? Tomcat How it works?

12 Servlet Container Servlet containers can be partitioned as: Standalone: Integral part of web server (as when using a Java-based web server) Standalone: Integral part of web server (as when using a Java-based web server) Add-on component to web server: Java container implementation + web server plugin Add-on component to web server: Java container implementation + web server plugin Servlet code runs inside Java container Servlet code runs inside Java container Java container runs inside of JVM Java container runs inside of JVM Web server plugin opens JVM Web server plugin opens JVM

13 Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container Servlet Container Web Server Component Web Server Component Tomcat Execution Mode Tomcat Execution Mode Tomcat How it works? Tomcat How it works?

14 Web Server Component Web Server(Apache) Web Server(Apache) HTTP requests by returning ‘ web ’ resources (e.g., HTML files, images, applets,CGI output, … ) over the Internet Servlet Container(Tomcat) Servlet Container(Tomcat) runtime shell that invokes servlets on behalf of clients software that runs servlets and manages them through their lifecycle

15 Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container Servlet Container Web Server Component Web Server Component Tomcat Execution Mode Tomcat Execution Mode Tomcat How it works? Tomcat How it works?

16 Tomcat Execution Mode Stand-alone mode Stand-alone mode ● Not as fast as Apache for static pages ● Not as fast as Apache for static pages ● Not as configurable as Apache ● Not as configurable as Apache ● Not as robust as Apache ● Not as robust as Apache ● May not support functionality found only in Apache modules (e.g., Perl, PHP, security) ● May not support functionality found only in Apache modules (e.g., Perl, PHP, security) ● Mainly for development and debugging ● Mainly for development and debugging

17 Tomcat Execution Mode  In-process add-on mode Suitable for multi-threaded single process servers Suitable for multi-threaded single process servers Provides good performance Provides good performance Limited in scalability Limited in scalability  Out-of-process add-on mode Poorer response time than for in-process servlet container Poorer response time than for in-process servlet container Better scalability Better scalability Better stability Better stability

18 Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container Servlet Container Web Server Component Web Server Component Tomcat Execution Mode Tomcat Execution Mode Tomcat How it works? Tomcat How it works?

19 Tomcat how it works? Tomcat interoperates with Apache Apache in standalone mode Tomcat in out-of-process add-on mode Client http://server/path/to/resource Tomcat AJPV12/13 TCP/8007 2 resource 5 3 4 Apache adapter 1

20 Reference http://http://jakarta.apache.org/tomcat/ http://http://jakarta.apache.org/tomcat/ http://http://jakarta.apache.org/tomcat/ http://www.debianusers.org/ http://www.debianusers.org/ http://www.debianusers.org/ http://www.superuser.co.kr/home/ http://www.superuser.co.kr/home/ http://www.superuser.co.kr/home/

21 Q&A Thank you!


Download ppt "Apache Jakarta Tomcat 20041058 Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container."

Similar presentations


Ads by Google