The web server’s job is to listen for requests for account details, validate input parameters, connect to CICS, pass on the request to the CICS application, format the returned data into HTML and return a web page to the user’s browser. All of these tasks can be handled by a special type of program running in the web server environment called a servlet.
Figure 8-4. Design for the Error page
In Chapter 9, we can divide the specific tasks further among three distinct components:
A Java servlet to process the request and connect to CICS
A JavaBean to temporarily hold information about the customer
Java Server Pages (JSP) to automatically format the returned data into HTML
Let’s look at these web server components in more detail.