201611171554f955howtomcatworks - (EPUB全文下载)
文件大小:0.12 mb。
文件格式:epub 格式。
书籍内容:
Table of Contents
1. Introduction
2. A Simple Web Server
i. The Hypertext Transfer Protocol (HTTP)
ii. The Socket Class
iii. The ServerSocket Class
iv. The Application
v. The HttpServer Class
vi. The Request Class
vii. The Response Class
viii. Running the Application
ix. Summary
3. A Simple Servlet Container
i. The javax.servlet.Servlet Interface
ii. Application 1
iii. The HttpServer1 Class
iv. The Request Class
v. The Response Class
vi. The StaticResourceProcessor Class
vii. The ServletProcessor1 Class
viii. Running the Application
ix. Application 2
x. Summary
4. Connector
5. Tomcat Default Connector
6. Container
OverView
Welcome to How Tomcat Works. This book dissects Tomcat 4.1.12 and 5.0.18 and explains the internal workings of its free, open source, and most popular servlet container code-named Catalina. Tomcat is a complex system, consisting of many different components. Those who want to learn how Tomcat works often do know where to start. What this book does is provide the big picture and then build a simpler version of each component to make understanding that
component easier. Only after that will the real component be explained.
You should start by reading this Introduction as it explains the structure of the book and gives you the brief outline of the applications built. The section "Preparing the Prerequisite Software" gives you instructions on what software you need to download, how to make a directory structure for your code, etc.
Who This Book Is for
This book is for anyone working with the Java technology.
This book is for you if you are a servlet/JSP programmer or a Tomcat user and you are interested in knowing how a servlet container works.
It is for you if you want to join the Tomcat development team because you need to first learn how the existing code works.
If you have never been involved in web development but you have interest in software development in general, then you can learn from this book how a large application such as Tomcat was designed and developed.
If you need to configure and customize Tomcat, you should read this book.
To understand the discussion in this book, you need to understand object-oriented programming in Java as well as servlet programming. If you are not familiar with the latter, there are a plethora of books on sendets, including Budi's Java for the Web with Servlets, JSP, and EJB. To make the material easier to understand, each chapter starts with background information that will be required to understan ............
书籍插图:
以上为书籍内容预览,如需阅读全文内容请下载EPUB源文件,祝您阅读愉快。
书云 Open E-Library » 201611171554f955howtomcatworks - (EPUB全文下载)