Moving Ahead

Now that you understand the application, you need to put in place the database schema that will underpin it. That's the mission of the next chapter. When you have data in place, you'll be ready to start coding, beginning with the user registration portion of the application.

In a real project, you would go back after the use cases were complete and refine the ERD to reflect any new discoveries that you made during additional discussions with the client. In this case, the ERD that you started with is good enough to take you into database design. There are also aspects of the object model that would be much more complex in a live e-commerce site. For example, you haven't done anything about representing shipping methods.

As with any ...

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.