Data Mgmt Lab_Part_23 - 67 Internet Applications Figure 7.1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Internet Applications 67 Figure 7.1 Solution to Exercise 7.2 (d) . 2. CGI (Common Gateway Interface) speciFes how the web server communicates other programs on the server. CGI programs are used to pass HTML form data to other programs that process that data. Each page request will create a new process on the server, which is a performance issue when requests are scaled up. 3. A web server handles the interaction with the client’s web browser. Application servers are used to maintain a pool of processes for handling requests. Typically, they are the middleware tier between the web server and the data sources such as database systems. Application servers eliminate the problems with process- creation overload and can also provide extra functionality like abstracting away heterogeneous data sources and maintaining session state information. 4. An XML document is valid if it has an associated DTD and the document follows the rules of the DTD. An XML document is well-formed if it follows three guide- lines: (1) it starts with an XML declaration, (2) it contains a root element that contains all other elements and (3) all elements are properly nested. Exercise 7.2 Briefly answer the following questions about the HTTP protocol: 1. What is a communication protocol? 2. What is the structure of an HTTP request message? What is the structure of an HTTP response message? Why do HTTP messages carry a version Feld? 3. What is a stateless protocol? Why was HTTP designed to be stateless? 4. Show the HTTP request message generated when you request the home page of this book ( http://www.cs.wisc.edu/~dbbook ). Show the HTTP response message that the server generates for that page. Answer 7.2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Data Mgmt Lab_Part_23 - 67 Internet Applications Figure 7.1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online