Cargando…

Tomcat 6 developer's guide : build better web applications by learning how a servlet container actually works /

"This book begins by providing detailed instructions on building a Tomcat distribution. The next few chapters introduce you to the conceptual underpinnings of web servers, the Java EE and servlet specifications, and the Tomcat container. Subsequent chapters address the key Tomcat components, ta...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Chetty, Damodar
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, U.K. : Packt Pub., ©2009.
Colección:From technologies to solutions.
Temas:
Acceso en línea:Texto completo
Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: Introduction to Tomcat; What's the story behind Tomcat?; What exactly is Tomcat?; JSPs; Servlet container; Why this book?; Gathering our tools; Java Development Kit (JDK) 6.0; Verifying downloaded files; Apache Ant; Subversion; Obtaining the Tomcat source code; Using Subversion; Tomcat source distribution; Getting ready to build Tomcat; Starting up your shiny new Tomcat; Eclipse; Summary; Chapter 2: Servlet API Overview; Java Community Process; Java Enterprise Edition platform
  • What is an enterprise application?Simultaneous users; Highly available, reliable, and scalable; Heterogeneous environment; Distributed nature; Java EE architecture; Java based; Generic APIs; Java EE containers and container services; Java EE components and their APIs; Java EE Service APIs; What is a typical Java EE application architecture?; Hypertext Transfer Protocol (HTTP); Uniform Resource Locator, URL; HTTP methods; GET (HTTP/0.9); POST (HTTP/1.0); PUT (HTTP/1.1); DELETE (HTTP/1.1); TRACE (HTTP/1.1); OPTIONS (HTTP/1.1); HEAD (HTTP/1.0); HTTP requests; HTTP responses; The response line
  • Response headersSpying on HTTP; What is the Servlet API?; Servlet container; Core servlet classes; Servlets; ServletConfig interface; ServletContext interface; Multithreading in servlets; Request; Response; Sessions; Filters; Listeners; Web applications; Deployment descriptors; Summary; Chapter 3: Servlet Container Overview; Component taxonomy; Architectural benefits; Top Level Components; Server; Service; Connectors; Container components; Engine; Virtual host; Context; Wrapper; Nested components; Valve; Realm; Executor; Listener; Manager; Loader; Logger; Resources; Summary
  • Chapter 4: Starting Up TomcatUsing scripts; Setting up the environment; Executing the requested command; Setting up your project; Modifying the Run/Debug configuration; Bootstrapping Tomcat; Bootstrapping environment variables; Bootstrapping class loading; Bootstrapping the embedded container; Bootstrapping the Tomcat component hierarchy; Initializing the Server; Adding a new web application to Tomcat in Eclipse; Summary; Chapter 5: The Server and Service Components; Setting up your project; Installing MySQL; Installing the MySQL driver; Enhancing the devguide web application; JNDI service
  • Basic JNDI conceptsUsing JNDI; StandardServer; Lifecycle; Shutdown; JNDI implementation; StandardService; Summary; Chapter 6: The Connector Component; Connector classification; Usage scenario; Protocol; Implementation architecture; Connector configuration; Binding attributes; Socket attributes; Thread parameters; The connector subsystem-a structural perspective; Modeling the Request and Response; Coyote and Catalina; Request classes; Response classes; HTTP classes; Stream classes; Helper classes; Socket programming; Socket options; The connector subsystem-a dynamic perspective