1 / 21

Apache Jakarta Tomcat

Apache Jakarta Tomcat. 20041058 Suh, Junho. Road Map. Tomcat Overview History What is Tomcat? Servlet Container Web Server Component Tomcat Execution Mode Tomcat How it works?. Tomcat Overview. What we need to make more dynamic web documents?

danno
Download Presentation

Apache Jakarta Tomcat

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Apache Jakarta Tomcat 20041058Suh, Junho

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

  3. 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!

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

  5. History • Before Tomcat 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)

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

  7. 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

  8. 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

  9. Road Map • Tomcat Overview • History • What is Tomcat? • Servlet Container • Web Server Component • Tomcat Execution Mode • 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 • History • What is Tomcat? • Servlet Container • Web Server Component • Tomcat Execution Mode • 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) • 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

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

  14. Web Server Component • Web Server(Apache) HTTP requests by returning ‘web’ resources (e.g., HTML files, images, applets,CGI output, …) over the Internet • 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 • History • What is Tomcat? • Servlet Container • Web Server Component • Tomcat Execution Mode • Tomcat How it works?

  16. Tomcat Execution Mode • Stand-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

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

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

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

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

  21. Thank you! Q&A

More Related