Tomcat 6 Developer's Guide.
Build better web applications by learning how a servlet container actually works.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Pub.,
2009.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Tomcat 6 Developer's Guide; Tomcat 6 Developer's Guide; Credits; About the author; Acknowledgement; About the reviewers; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Errata; Piracy; Questions; 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 TomcatDownloading dependencies; Building Tomcat; Starting up your shiny new Tomcat; Eclipse; Summary; 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, URLHTTP 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 headers; Spying on HTTP; What is the Servlet API?; Servlet container; Core servlet classes; Servlets; ServletConfig interface; ServletContext interface; Multithreading in servlets; Request; Request parameters and attributes; Protocol and URI details; Reading request data; Connection information; HTTP specific information; Response; Sessions; Filters; Listeners.
- Web applicationsDeployment descriptors; Summary; 3. Servlet Container Overview; Component taxonomy; Architectural benefits; Top Level Components; Server; Service; Connectors; Container components; Engine; Virtual host; Basic concepts; Virtual host techniques; IP-based virtual hosting; Name-based virtual hosting; Virtual host aliasing; Context; Context configuration; Wrapper; Nested components; Valve; Realm; Executor; Listener; Manager; Loader; Delegation model; Java EE class loading; Tomcat's additional class loaders; Class reloading in web applications; Logger; Resources; Summary.
- 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; Commons Digester; The pattern; The rule; The object stack; Using the Digester; The server.xml Digester; Parsing the server.xml file; Initializing the Server; Adding a new web application to Tomcat in Eclipse; Summary; 5. The Server and Service Components.