background image

The Coffee Break Application

<< Part 7. Case Studies | Coffee Break Application Flow >>
<< Part 7. Case Studies | Coffee Break Application Flow >>

The Coffee Break Application

The Coffee Break Application
This chapter describes the Coffee Break application, a set of web applications that demonstrate
how to use several of the Java Web services APIs together. The Coffee Break sells coffee on the
Internet. Customers communicate with the Coffee Break server to order coffee online. The
server uses JavaServer Faces technology as well as Java servlets, JSP pages, and JavaBeans
components. When using the server a customer enters the quantity of each coffee to order and
clicks the Submit button to send the order.
Overview of the Coffee Break Application
The Coffee Break does not maintain any inventory. It handles customer and order management
and billing. Each order is filled by forwarding suborders to one or more coffee suppliers.
Figure 36­1
shows this process.
36
C H A P T E R
3 6
1029