Summary

I l @ ve RuBoard

In this chapter, you've learned how to use JSP to automatically create content from the database. Each class that maps to a database row needs to have properties to represent all of the database data that will be used by the application.

Because objects may reference other objects that need to be loaded from the database, it's important to make sure that you don't implement an infinite loop by accident .

By driving content generation off the database, you can dynamically change the information presented on your site without having to change either classes or JSP.

The site is looking nice, but it's useless if you can't buy anything. In the next chapter, you will take a big step by actually implementing the Buy Me buttons that you've been putting all over the product pages.

You will also start to really use session objects. Right now you've only scratched the surface of what they can do, such as carrying over the contents of a shopping cart from page to page.

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