The Example Servlets To illustrate servlet capabilities, this chapter uses an example application called Duke's Bookstore .
Different sections use the servlets to illustrate various tasks.
For example, BookDetailsServlet illustrates how to handle HTTP GET requests and CatalogServlet shows you how to track session information. ReceiptServlet The data for the bookstore application is maintained in a Cloudscape database and is accessed through the helper class database. The database package also contains the class BookDetails which represents a book. The shopping cart and shopping cart items are represented by the classes cart. ShoppingCart and cart.