Apache Jakarta Tomcat 20041058 Suh, Junho Road Map 1
Tomcat Overview What we need to make more dynamic web documents? Server that supports JSP, ASP, database etc We concentrates on Something that support JSP. Something is Tomcat Why it is popular?? GNU license, it`s free! Road Map 2
Before Tomcat History Competition of CGI CGI(Perl,, C) 1 processor/1 request Fast CGI 1 processor/same request ASP,PHP 1 thread/1 request script Servlet 1 thread/1 request compile JSP 1 thread/1 request 2 compile 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) Tomcat 3.1 including servlet reloading WAR file support and added connectors for the IIS and Netscape web servers contained fixes for security problems 3
Tomcat 4.0 Implements a new servlet container (called Catalina) that is based on completely new architecture JMX based administration features JSP and Struts based administration web application New Coyote connector (HTTP/1.1, AJP 1.3 and JNI support) Rewritten Jasper JSP page compiler Performance and memory efficiency improvements Enhanced manager application support for integration with development tools Custom Ant tasks to interact with the manager application directly from build.xml scripts Tomcat 5.0 resulting in improved performance, stability, and total cost of ownership 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 Complete server monitoring using JMX and the manager web application Scalability and reliability enhancements Improved Taglibs handling, including advanced pooling and tag plugins Improved platform integration, with native Windows and Unix wrappers Embedding using JMX Enhanced Security Manager support Integrated session clustering Expanded documentation 4
Road Map 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 5
Road Map Servlet Container Servlet containers can be partitioned as: 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 Servlet code runs inside Java container Java container runs inside of JVM Web server plugin opens JVM 6
Road Map Web Server Component Web Server(Apache) HTTP requests by returning web resources (e.g., HTML files, images, applets,cgi output, )) over the Internet (Tomcat) runtime shell that invokes servlets on behalf of clients software that runs servlets and manages them through their lifecycle 7
Road Map Tomcat Execution Mode Stand-alone alone mode Not as fast as Apache for static pages Not as configurable as Apache Not as robust as Apache May not support functionality found only in Apache modules (e.g., Perl,, PHP, security) Mainly for development and debugging 8
Tomcat Execution Mode In-process add-on mode Suitable for multi-threaded threaded single process servers Provides good performance Limited in scalability Out-of of-process add-on mode Poorer response time than for in-process servlet container Better scalability Better stability Road Map 9
Tomcat how it works? Tomcat interoperates with Apache Apache in standalone mode Tomcat in out-of-process add-on mode Client 1 http://server/path/to/resource resource 5 Apache adapter 2 AJPV12/13 TCP/8007 4 Tomcat 3 Reference http://http://jakarta.apache.org/tomcat/ http://www.debianusers.org/ http://www.superuser.co.kr www.superuser.co.kr/home/ 10
Thank you! Q&A 11