JSP Tag Libraries

Скачать в pdf «JSP Tag Libraries»

2    The welcome view is displayed with a number of options. The user selects to view the catalogue.

3    The category list is displayed. The user browses this and adds a number of products to his order.

4    The products are added to the order. The user elects to view his current order.

5    The full order view is displayed. The user elects to send his order.

Figure 14.2 The remote interfaces for the EJB Entities and their internal relations

6    The order summary view is displayed. The user elects to confirm his order.

7    The order confirmation is displayed. The user selects to end his session by logging out.

8    The user is logged out and the logon view is displayed anew.

Remember that what we describe is the normal flow of events. There are other options that are not considered normal, which are listed among the others below.

14.3.2 Model

The model is implemented as a number of EJB Entities, as described in
figure 14.2.

EJB-driven WAPStore

For more information about these entities’ actual implementation, download the application as described in appendix C. There you will find the source code for all the entities given in table 14.2.

Table 14.2 The Entity EJBs acting as model




Represents the stored profile of a customer.


Represents a line of products. It has a name and contains a number of products.


Represents a product on sale. It has a stock keeping unit (SKU), name, and price.

Скачать в pdf «JSP Tag Libraries»