Web Cache Sample - Customer Module 

Contents

Overview of the Sample Application 

Back To Top

Oracle9iAS Web Cache- Customer Module Sample is an e-Shop that is developed to demonstrate features of Oracle9iAS Web Cache 
and JESI (Edge Side Includes for Java). For maintenance of this e-Shop, an Administration Module is available that demonstrates 
features of Web Object Cache. The aim of these two modules that form a complete e-Shop Application, is to demonstrate when, 
where, which caching technique best fits in to achieve high performance, scalability and handling complexity. 

The Customer Module allows tracking of orders made by the customers. The system maintains product information, order information
and customer information in the database. The user of this system, customer has to login to the system using the unique identifier 
given to him/her. 

The Customer module provides with the shopping interface for the customer. The Home page has the following options for the user 

1. Login 
2. View Product Catalog and details of products 
3. View Best buys and top 3 selling products. 
4. Check order status with order number. 
5. View shopping cart 
6. Check out 
7. Logout 

The customer can browse through the catalog and see product descriptions and add them to the cart. On the home page
the list of best buys and the top 3 selling products are also shown. The customer can click on them to see the description
and add them to the cart. At any time the customer can view his shopping cart information and modify item quantity or
remove items from cart. There is also an option to check out the cart. Before checking out the customer needs to login 
to authenticate himself/herself as a valid customer. When the customer checks out he/she is provided with an order id 
which can be used to check the status of the order. 
 

Role of Oracle9iAS Web Cache

Back To Top

Oracle9iAS Web Cache can be used to store both static and dynamic pages. When the dynamic 
pages are cached, the first request alone will be sent to the Application Server and the content will be stored in
Oracle9iAS Web Cache. All subsequent requests will be served from the Oracle9iAS Web Cache server until 
the pages are invalidated or expired. The cache policies can be set using JESI tags. The suitable candidates for caching
dynamic pages in the system are

  • Product catalog displayed
  • List of top 3 products displayed to the customers
  • Product information displayed for each product
  • Best buys information and details about it.

Application Usecase Diagram

Back To Top

Figure 1.1: Usecase Diagram for Customer Module 
 

User Notes with Screen Shots

Back To Top

When the application is launched with the Main.jsp file, the following screen is shown 


Figure 1.2: Screen Shot displaying the home page of the Customer Module 

When the user clicks on any of the Categories, the products in that particular category are shown to the user. In the following screen, the 
user has clicked on 'Printers' category, the list of all products in 'Printers' category is displayed on the right hand side pane and the best buys(if any)
and top three selling products of the category chosen ('Printers') are displayed on the left hand side panes. 

Figure 1.3: Screen shot showing the Products for a chosen category(in this case 'Printers') 

When the users want to buy a product, he can just click on the "Add to Cart" button and add the product to the cart. 
The user can give the quantity he wishes to buy and click "Update". The user can update the cart or remove items from the cart. 
When the user wants to check out the cart, he has to login. 

Figure 1.4: Screen Shot Showing Cart Information 

The User can see the details of a best buy and add them to cart 

Figure 1.5: Screen shot showing the details of a best buy 
 

Installation and Configuration

Back To Top

Refer to Installing the sample for step-by-step instructions on extracting files, installing to successfully run this application.



Please enter your comments about this sample in the OTN Sample Code Discussion Forum.
E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy