Time to Get Down to Business

I l @ ve RuBoard

In this chapter, you got a close look at how a combination of techniques can be used to retain customer information between sessions. Cookies can be used to store user login information so that you can have your application automatically identify the customer upon subsequent visits . HttpSessionBindingListener allows you to catch a session timeout and have your application spill data so that the current session isn't lost.

You also learned how to do more advanced form validations, including date and credit card number checks, and how to have one object automatically load in objects that it is related to.

That was certainly a chunk of code that you just went through. The next chapter gives you a break from database fill and spill. You will be looking at implementing business rules ” specifically , simple promotions (such as buy one, get one free), taxation , and shipping charges.

You will also be implementing the major pieces of the checkout process. Luckily, with the address and credit card objects already in place, you're almost home free on that item. With that out of the way, all you'll have to do in Chapter 13, "Completing the Application," is charge the customer's card and record the order. Then you'll be open for business.

I l @ ve RuBoard


MySQL and JSP Web Applications. Data-Driven Programming Using Tomcat and MySQL
MySQL and JSP Web Applications: Data-Driven Programming Using Tomcat and MySQL
ISBN: 0672323095
EAN: 2147483647
Year: 2002
Pages: 203
Authors: James Turner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net