This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The web server can serve straight forward files like HTML and images that require no processing.
The web container, on the other hand handles special resources that require server processing, like .jsp
Flow: The web server receives the request. If the request requires special processing, it hands the request to the web container that calls the relevant resource, like a servlet, to handle the request. The resource generates a response, sticks something typically HTML (might be an image) in it, and hands it to the server. The server sends it back to the requestor.
We're doomed!!<br />Yay!!!<br />No that's bad Girr!!<br />Yay!!!
I guess we are talking about Java application servers here.
Web container = the runtime which can contain servlets, backing beans, EJB's, etc. Web server = the execution infrastructure which handles requests and responses (mainly type of HTTP) between the web container and the client.
Scheepers de Bruin
Joined: Jul 19, 2005
'k. Scratch that.
The web container possibly lives WITH the web server. (And they have two ADORABLE puppies and garden gnomes)