O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required