Limit search to available items
Book Cover
E-book
Author Chetty, Damodar

Title Tomcat 6 developer's guide : build better web applications by learning how a servlet container actually works / Damodar Chetty
Published Birmingham, U.K. : Packt Pub., ©2009

Copies

Description 1 online resource (vii, 395 pages) : illustrations
Series From technologies to solutions
From technologies to solutions.
Contents 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
Summary "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, taking care to provide you with the information needed to understand the internal workings of each component. Detailed examples let you walk through a Tomcat installation, stepping into key Tomcat components, as well as into your own custom servlets. During the course of the book you will encounter various structural components such as the Server and Service; containers such as the Engine, Host, Context, and Wrapper; and helpers such as the Loader, Manager, and Valve. You will also see how Tomcat implements the JNDI API to provide both a directory service for storage agnostic access to its resources, as well as a naming service that implements the Java EE Environment Naming Context"--Resource description page
Bibliography Includes bibliographical references and index
Notes Print version record
SUBJECT Apache Tomcat. http://id.loc.gov/authorities/names/n2004064034
Apache Tomcat. blmlsh
Apache Tomcat fast
Subject Web servers.
Web site development.
Internet programming.
COMPUTERS -- Web -- Browsers.
Web servers.
Web site development.
Internet programming.
Internet programming
Web servers
Web site development
Form Electronic book
ISBN 9781847197290
1847197299
1847197280
9781847197283
Other Titles Tomcat Six developer's guide