User:Muffingg/Java Web

Enterprise Application
 * 1) Large Data
 * 2) Multiple Functionalities
 * 3) Client-Server
 * 4) Multi-threading
 * 5) Highly Available
 * 6) Scalable

When typing in www.google.com...
 * Browser first opens a connection
 * It then sends an http request to a Web Server
 * Web server sends http response
 * DNS converts the Domain Name to the IP Address of the website

HTTP Request (generated by Browser)

 * Starts with HTTP Version
 * URL
 * GET and POST (either receive some information from the client, or send/submit some information from the client to the server)

e.g. HTTP1.1 url/get HTTP Request Headers (Firefox/Chrome/etc), e.g. hostname, version, etc Request data [optional]

HTTP Response (generated by Server)
e.g. HTTP Response HTTP1.1/200 Response header text/img/gif... body (very likely to have an HTML page)

HTTP Error Codes

 * See also List of HTTP status codes
 * 2xx: SUCCESS
 * 4xx: ERROR
 * 5xx: SERVER ERROR