Chapter 14
Database Access
through the Web
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-2
FIGURE 14.1
The logical data model for a database
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-3
FIGURE 14.2 The Equipment table
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-4
FIGURE 14.3 The Corvettes table
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-5
FIGURE 14.4 The States table
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-6
FIGURE 14.5
The Corvettes_Equipment
cross-reference table
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-7
FIGURE 14.6 Three-tier architecture of a
Web site supported by databases
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-8
FIGURE 14.7
Common Database Access Architecture
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-9
FIGURE 14.8
Display of the output of access_cars.pl
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-10
FIGURE 14.9 Display of the return
document from access_cars.php
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-11
FIGURE 14.10 Using JDBC directly
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-12
FIGURE 14.11
Using JDBC through a midtier computer
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
14-13
TABLE 14.1 Common SQL Data Types
and Their Java Counterparts
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.