Chapter 6. Creating the Database Schema and Populating Data

IN THIS CHAPTER

At this point, you should have a good idea of how an application will be represented in Java objects—you're halfway there. But Java objects by themselves have no permanence, so you'll need to back up some of them with database records to hold their data for long-term retrieval.

In this chapter, you'll learn how to design and populate a database schema that can interact with JSP. As you'll see, sometimes a single Java object maps to a single table, and sometimes it maps to several. In addition, you'll see how MySQL handles sequences and you'll learn the special requirements that this imposes ...

Get MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.