Mastering Servlets: Server-Side Programming for the Java Platform (Second Edition) (Second Edition)

Author: Zhan Xiaosu
Publisher: Tsinghua University Press
Publication Date: 2002-03-01
Features: This book provides a detailed introduction to the Web server-side development component, servlet. The book is divided into six parts. Part 1 (Chapters 1—7) primarily introduces the basic concepts of Web development and gradually introduces the servlet concept. Part 2 (Chapters 8—10) mainly covers the various runtime environments for servlets (Apache Tomcat, JRun, ServletExec, and Resin), the debugging process for servlets, several debugging tools, and methods for constructing complex servlets using advanced objects in the Servlet API. Part 3 (Chapters 11—16) focuses on how to write thread-safe servlets, the concept and implementation of HTTP redirection, the concept of cookies, session management, request sending, server-side includes, the concept and implementation of servlet chains, and how to link servlet applications to databases using JDBC, among other topics. Part 4 (Chapters 17—20) introduces advanced servlet concepts, including strategies for ensuring secure information transmission on the Web, JavaServer Pages, the encapsulation and deployment of Web applications, and techniques for detecting servlet HTTP communication. Part 5 (Chapters 21—23) mainly presents several example servlets: a form submission servlet, a file upload servlet, and a servlet template framework. These examples help readers better understand servlet concepts and applications, enabling them to master them more quickly and apply them in practice sooner. Part 6 (Chapters 24—26) provides readers with a comprehensive quick reference to the Servlet API, including the packages required for creating servlets and the latest version of the API defined by the Java Servlet Specification. The book is structured from simple to advanced, with each part maintaining a certain degree of independence. Therefore, readers can choose the relevant sections to read based on their needs. This book is an invaluable reference for anyone seeking to understand and master the rapidly evolving Web application technologies. Whether you are a beginner or a CGI programmer with existing Web development concepts, you can use this book to learn about servlet applications. In summary, the target readers of this book are all those who wish to implement dynamic, data-driven Web sites or other network applications through server-side Java programming.

📌 Related Posts