-
Book Overview & Buying
-
Table Of Contents
Java Web Internals
By :
The previous chapters have progressively presented the construction of a web server from a simple base: the direct manipulation of sockets in Java. This approach, although didactic, allowed us to highlight fundamental aspects of HTTP communication, the role of the web server in the request-response cycle, and the minimum structure required to handle HTTP requests. For example, we can see a full request on our Simple Web Container architecture in Figure 6.1 below.

Figure 6.1: How Simple Web Application handles a request
In this chapter, the objective is to expand the functionalities of the Simple Application Server (SAS), highlighting possible improvements in its architecture, discussing its viability as a testing and teaching platform, and outlining ways for it to approach more robust servers, such as Apache Tomcat. To this end, we will analyze aspects such as support for multiple simultaneous requests, session maintenance between requests...