-
Book Overview & Buying
-
Table Of Contents
Java Web Internals
By :
Understanding how a web server works and implementing a version of it allows us not only to master network programming, but also to understand protocols, especially HTTP.
However, when we consider a web server alone, we have a serious problem to deal with: the content provided by the web server is always static. So, looking at a modern-day example, how would we search for information, for example? How would we make a purchase on the Internet, since the browser is one of our main tools today for doing almost everything from wherever we are?
Is it possible, then, to create a web server that, instead of delivering static content such as pages or images, executes the famous "business logic" and responds with the results of these rules?
The answer is yes! It is perfectly possible to manipulate HTTP requests to execute our own rules and send these as responses.
We are talking about application servers.
In general terms, unlike a web server, an...